-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (91 loc) · 3.68 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Meal App | Find Your Meal</title>
<link rel="shortcut icon" href="media\food.jpeg" type="image/x-icon" />
<!-- link to fontawsome -->
<script src="https://kit.fontawesome.com/14097a442a.js" crossorigin="anonymous"></script>
<!-- link to bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous" />
<!-- link to css -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- full body div -->
<div id="full-body">
<!--full body header section -->
<div id="header" class="container-fulied">
<!-- header navbar -->
<div id="nav" class="navbar navbar-dark fixed-top">
<div class="container-fluid">
<a class="navbar-brand app_name" href="index.html">
<img src="media\food.jpeg" alt="app_logo" id="logo" />Meal App
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar" onclick="showFavMealList()">
<span class="navbar-toggler-icon"></span>
</button>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header bg-danger" id="nav">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel" style="color: white">
<i class="fa-sharp fa-solid fa-text fa-beat-fade" id="fav" style="color: #ffffff">Favourites</i
>
</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<!--this div is for show favourite meals -->
<div
id="favourites-body"
class="offcanvas-body d-flex justify-content-center flex-wrap"
>
<div class="spinner-border text-success" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
</div>
</div>
<!-- header heading section-->
<div id="heading" class="container text-center">
<h1>Find Meals For You</h1>
</div>
<!-- header search bar section -->
<div
id="search-bar"
class="container text-center mt-5"
onkeyup="showMealList()"
>
<input
type="search"
id="my-search"
class="form-control"
placeholder="Search.."
/>
</div>
<!-- text -->
<div id="heading-text" class="mt-3 text-center">
<h5>Your Search Results:</h5>
</div>
</div>
<!--full body main section-->
<div
id="main"
class="d-flex justify-content-around container flex-wrap mt-5"
></div>
</div>
<!-- link to bootstrap js -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"
></script>
<!-- link to js -->
<script src="script.js"></script>
</body>
</html>