-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.html
80 lines (74 loc) · 4.13 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<title>Food-Recipes</title>
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<br>
<div>
<span style="font-size: 45px;margin-top: 150px; margin-left: 50px;"><span style="color:#ff9900">(R)</span><span style="color:white">ecipes</span></span>
<span style="margin-left: 1100px;color:white">
<a href="index.html">Logout</a></span>
</div><center>
<form name="search"action="" method="POST">
<input type="text" id="search" name="reg" placeholder="Search...">
</form></center>
<br><br>
<center>
<table id="t" style="color:white">
<tr>
<td class="content"><a style="text-decoration:none;" href = "pizza.html"><button>Pizza</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "pasta.html"><button>Pasta</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "burger.html"><button>Burger</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "noodles.html"><button>Noodles</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "hs.html"><button>Chinese Hot and Sour Soup</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "cgs.html"><button>Carrot Ginger Soup</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "breadroll.html"><button>Bread Roll</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "ps.html"><button>Paneer Sandwich</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "vegetablemaggie.html"><button>Vegetable Maggie</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "frenchtoast.html"><button>French Toast</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "tacos.html"><button>Tacos</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "momos.html"><button>Momos</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "pt.html"><button>Paneer Tikka</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "ccb.html"><button>Crispy Chilly Babycorn</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "ac.html"><button>American Chopsuey</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "q.html"><button>Quesadilla</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "chococake.html"><button>Chocolate Cake</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "lbp.html"><button>Lemon Bar Peeps</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "sbpie.html"><button>Strawberry Pie</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "tiramisu.html"><button>Tiramisu</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "pc.html"><button>Panna Cotta</button></a></td>
</tr>
<tr>
<td class="content"><a style="text-decoration:none;" href = "bmc.html"><button>Blueberry Muffin Cake</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "cheesecake.html"><button>Cheesecake</button></a></td>
<td class="content"><a style="text-decoration:none;" href = "cm.html"><button>Chocolate Milkshake</button></a></td>
</tr>
</table>
</center>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$('#search').keyup(function(){
var text = $(this).val();
$('.content').hide();
$('.content:contains("'+text+'")').show();
});
});
</script>
</html>