-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
250 lines (236 loc) · 7.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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html lang="en">
<head>
<title>Yummy</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="shortcut icon" href="imgs/logo.png" type="image/x-icon" />
<!-- Bootstrap CSS v5.2.1 // fontawsome -->
<link rel="stylesheet" href="./css/all.min.css" />
<link rel="stylesheet" href="./css/bootstrap.min.css" />
<link rel="stylesheet" href="./css/style.css" />
</head>
<body class="overflow-hidden">
<!-- spinner -->
<div class="loading bg-black">
<div class="lds-ellipsis">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<!---->
<!-- side nav bar -->
<div
class="side-nav-menu min-vh-100 position-fixed d-flex top-0"
style="left: 0px"
>
<div class="nav-tab flex-column justify-content-between min-vh-100 p-4">
<div class="links">
<ul class="list-unstyled overflow-hidden">
<li class="py-2 position-relative cursor-pointer" id="search">
Search
</li>
<li class="py-2 position-relative cursor-pointer" id="categories">
Categories
</li>
<li class="py-2 position-relative cursor-pointer" id="area">
Area
</li>
<li class="py-2 position-relative cursor-pointer" id="ingredients">
Ingredients
</li>
<li class="py-2 position-relative cursor-pointer" id="contactt">
Contact Us
</li>
</ul>
</div>
<div class="nav-footer">
<div class="icons">
<i class="fa-brands fa-facebook cursor-pointer"></i>
<i class="fa-brands fa-twitter cursor-pointer"></i>
<i class="fa-solid fa-globe cursor-pointer"></i>
</div>
<div class="footer">
<p>Copyright © 2019 All Rights <br />Reserved.</p>
</div>
</div>
</div>
<div
class="nav-header d-flex flex-column justify-content-between py-4 text-center px-2 bg-white text-black"
>
<img class="logo" src="imgs/logo.png" alt="" srcset="" />
<i class="fa-solid fa-bars fa-2x close"></i>
<div>
<i class="fa-solid fa-globe d-block cursor-pointer"></i>
<i class="fa-solid fa-share-nodes cursor-pointer"></i>
</div>
</div>
</div>
<!-- search container -->
<section class="d-none" id="searchContainer">
<div class="container w-100" id="searchContainer">
<div class="row py-4">
<div class="col-md-6">
<input
class="form-control bg-transparent text-white"
type="text"
placeholder="Search By Name"
spellcheck="false"
data-ms-editor="true"
/>
</div>
<div class="col-md-6">
<input
maxlength="1"
class="form-control bg-transparent text-white"
type="text"
placeholder="Search By First Letter"
spellcheck="false"
data-ms-editor="true"
/>
</div>
</div>
</div>
</section>
<!-- main container -->
<section class="container" id="allMeals">
<div class="row py-5 g-4 cardDashboard"></div>
<!-- -->
</section>
<section class="container d-none" id="mealDetails">
<div class="row py-5 g-4" id="rowData">
<div class="col-md-4">
<img
class="w-100 rounded-3 strMealThumb"
src="https://www.themealdb.com/images/media/meals/58oia61564916529.jpg"
alt=""
/>
<h2 class="strMeal">Corba</h2>
</div>
<div class="col-md-8">
<h2>Instructions</h2>
<p class="strInstructions"></p>
<h3>
<span class="fw-bolder">Area : </span><span class="strArea"></span>
</h3>
<h3>
<span class="fw-bolder">Category : </span
><span class="strCategory"></span>
</h3>
<h3>Recipes :</h3>
<ul class="list-unstyled d-flex g-3 flex-wrap strIngredient"></ul>
<h3>Tags :</h3>
<ul class="list-unstyled d-flex g-3 flex-wrap strTags"></ul>
<a
target="_blank"
href="https://findingtimeforcooking.com/main-dishes/red-lentil-soup-corba/"
class="btn btn-success strSource"
>Source</a
>
<a
target="_blank"
href="https://www.youtube.com/watch?v=VVnZd8A84z4"
class="btn btn-danger strYoutube"
>Youtube</a
>
</div>
</div>
</section>
<section id="contact" class="d-none mt-4">
<div class="container w-75 text-center">
<div class="row g-4">
<div class="col-md-6">
<input
id="nameInput"
type="text"
class="form-control"
placeholder="Enter Your Name"
spellcheck="false"
data-ms-editor="true"
/>
<div id="nameAlert" class="alert alert-danger w-100 mt-2 d-none">
Special characters and numbers not allowed
</div>
</div>
<div class="col-md-6">
<input
id="emailInput"
type="email"
class="form-control"
placeholder="Enter Your Email"
/>
<div id="emailAlert" class="alert alert-danger w-100 mt-2 d-none">
Email not valid *exemple@yyy.zzz
</div>
</div>
<div class="col-md-6">
<input
id="phoneInput"
type="text"
class="form-control"
placeholder="Enter Your Phone"
spellcheck="false"
data-ms-editor="true"
/>
<div id="phoneAlert" class="alert alert-danger w-100 mt-2 d-none">
Enter valid Phone Number
</div>
</div>
<div class="col-md-6">
<input
id="ageInput"
type="number"
class="form-control"
placeholder="Enter Your Age"
/>
<div id="ageAlert" class="alert alert-danger w-100 mt-2 d-none">
Enter valid age
</div>
</div>
<div class="col-md-6">
<input
id="passwordInput"
type="password"
class="form-control"
placeholder="Enter Your Password"
/>
<div
id="passwordAlert"
class="alert alert-danger w-100 mt-2 d-none"
>
Enter valid password *Minimum eight characters, at least one
letter and one number:*
</div>
</div>
<div class="col-md-6">
<input
id="repasswordInput"
type="password"
class="form-control"
placeholder="Repassword"
/>
<div
id="repasswordAlert"
class="alert alert-danger w-100 mt-2 d-none"
>
Enter valid repassword
</div>
</div>
</div>
<button id="submitBtn" class="btn btn-outline-danger px-2 mt-3">
Submit
</button>
</div>
</section>
<script src="./js/jquery-3.6.4.min.js"></script>
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./js/main.js" type="module"></script>
<!-- Bootstrap JavaScript Libraries -->
</body>
</html>