-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (92 loc) · 4.02 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!doctype html>
<html lang="en">
<head>
<title>Hungry Master - Meal Search App</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<!-- Custom css -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="#">
<img class="nav-logo" src="images/logo.png" alt="Hungry Monster">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Recipes</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Blog</a>
</li>
</ul>
</div>
</div>
</nav>
<main class="content-area">
<div class="search-bar col-md-6 mx-auto">
<div class="search-box my-5">
<input id="search-field" type="text" class="form-control" placeholder="Search for Meal...">
<button id="btn-search" class="btn btn-success search-btn">Search</button>
</div>
</div>
<!-- Meal Details -->
<div class="container">
<div class="row">
<div class="col-md-10 mx-auto text-center">
<h3 id="error-message" class="text-danger ms-auto">
</h3>
</div>
</div>
</div>
<div class="container">
<div id="meal-details" class="row">
</div>
</div>
<div class="container">
<div class="row" id="meal-container">
</div>
</div>
<!-- <div>
<h2 class="py-4">${meals[0].strMeal}</h2>
<h5>Ingredients</h5>
<ul>
<li>${meals[0].strIngredient1}
<li>${meals[0].strIngredient2}
<li>${meals[0].strIngredient3}
<li>${meals[0].strIngredient4}
<li>${meals[0].strIngredient5}
<li>${meals[0].strIngredient6}
</ul>
</div> -->
</main>
</div>
<script src="app.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous">
</script>
<!-- Custom Script Here -->
</body>
</html>