-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (82 loc) · 3.66 KB
/
index.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
81
82
83
84
<!DOCTYPE html>
<head>
<!-- Title of Page -->
<title>Fomato</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Icons Link -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<!-- Bootstrap Link -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
<!-- Linking style sheet -->
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- Navigations -->
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<!-- Navigation Container -->
<div class="container-fluid">
<!-- Brand -->
<a class="navbar-brand" href="./index.html">Fomato</a>
<!-- Collapsable button -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Links | Collapsable content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- Navigation list -->
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<!-- List Item -->
<li class="nav-item">
<!-- Link to Home -->
<a class="nav-link p-1 active" aria-current="page" href="#">Home</a>
</li>
<!-- List Item -->
<li class="nav-item">
<!-- Link to Favourite -->
<a class="nav-link p-1" href="./favourite_page.html" >Favourites</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- End of Navigation -->
<!-- Search Section -->
<section id="search-section">
<!-- Container of Search Section -->
<div class="container-fluid ">
<!-- Header of Section -->
<h1 class="text-center mt-5"> Welcome to Fomato </h1>
<!-- Input Section -->
<div class="col d-flex justify-content-center" id="search-bar">
<!-- Form for Search -->
<form class="d-flex mt-5 border border-warning col-md-6" role="search">
<!-- Search Field -->
<input class="form-control me-2 border border-0" type="search" placeholder="Search Meal" aria-label="Search" id="search">
<!-- Search Button -->
<button class="btn bi bi-search" type="submit" id="btn-search"></button>
</form>
<span class="d-block p-2 text-dark" id="search-summary"></span>
</div>
</div>
</section>
<!-- End of Search Section -->
<!-- Meals Section -->
<section id="result-section">
<div class="container-fluid">
<!-- Summary of search results -->
<p id="result-header" class="text-center mt-2"></p>
<!-- Content here -->
<div class="row">
<!-- All Meals -->
<!-- Content will be render here after search -->
</div>
</div>
</section>
<!-- JS file -->
<script src="./index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>