forked from anandsinghyadav/Ebay-Website-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
health.html
480 lines (357 loc) · 15.3 KB
/
health.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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="moniBeauty.css">
<script src="https://kit.fontawesome.com/1cb0bb75dc.js" crossorigin="anonymous"></script>
</head>
<style>
#bluetopdiv{
margin-top: 10%;
width: 200px;
height: 300px;
border: 1px solid green;
background-color: rgb(18,18,88)
}
#healthtop{
display: flex;
}
#healthimg{
height: 300px;
margin-top: 10%;
width: 750px;
}
#bluetopdiv>p,#bluetopdiv>h2{
color: rgb(29,203,202);
margin-left: 8%;
margin-top: 8%;
}
.dimg{
width: 100px;
height: 100px;
margin-bottom: 1.5%;
}
</style>
<body>
<div id="sc1">
<div id="sc11">
<h4 id="sc111">Hi! <a href="signin.html">Sign in</a> or <a href="register.html">register</a></h4>
<h4> <a href="" style="color:black; text-decoration: none; ">Daily Deals</a></h4>
<h4><a href="" style="color:black; text-decoration: none;">Help & Contact</a></h4>
</div>
<div id="sc12">
<h4>Sell </h4>
<h4>Watchlist <i class="fa-solid fa-angle-down"></i></h4>
<div id="helloMouse">
<h4 onclick="window.location.href='signin.html'">My eBay<i class="fa-solid fa-angle-down"></i></h4>
<div id="absolute_My_eBay">
<a href="">
<p>Summary</p>
</a>
<a href="">
<p>Recently Viewed</p>
</a>
<a href="">
<p> Bids/Offers</p>
</a>
<a href="watchlist.html">
<p>Watchlist</p>
</a>
<a href="">
<p>Purchase History</p>
</a>
<a href="">
<p>Buy Again</p>
</a>
<a href="">
<p>Selling</p>
</a>
<a href="saved.html">
<p>Saved Searches</p>
</a>
<a href="">
<p>Saved Sellers</p>
</a>
<a href="">
<p>Messages</p>
</a>
</div>
</div>
<div style="padding:3.5%;" id="sc121">
<i class="fa-solid fa-bell"></i>
<div id="sc122">
<h1>You are all caught up!</h1>
</div>
</div>
<div style="margin:5%;" id="sc13">
<i class="fa-solid fa-cart-shopping"></i>
<div id="sc131">
<h1>Your cart is empty</h1>
<h3>Time to start shopping!</h3>
</div>
<P id="cartData">3</P>
</div>
</div>
</div>
<hr style="margin-top:-1%; color: #f1ebeb;">
<!--
1st nav bar ends here
-->
<div id="sc2">
<div id="sc21" onclick="window.location.href='index.html'">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/EBay_logo.svg/1200px-EBay_logo.svg.png"
alt="">
</div>
<div id="sc22">
<p>
Shop by category
</p>
<i class="fa-solid fa-angle-down"></i>
</div>
<div id="sc23">
<i class="fa-solid fa-magnifying-glass" style="margin-left: 5px;"></i>
<input type="text" name="" id="">
<div>
<button name="" id="">
All category
</button>
<i class="fa-solid fa-angle-down"></i>
</div>
</div>
<button>
Search
</button>
</div>
<div id="sc3">
<hr>
</div>
<div id="pagediv">
<!-- <div id="topdiv">
<h1>Beauty</h1>
</div> -->
<div id="center">
<div id="left">
<h1>Health</h1>
<h2>Shop by Category</h2>
<div id="cat">
<ul>
<li class="hov">Health & Beauty</li>
<li class="hov">Health Care Products</li>
<li class="hov">Massage</li>
<li class="hov">Medical & Mobility</li>
<li class="hov">Natural & Alternative Remedies</li>
<li class="hov">Oral Care Products</li>
</ul>
</div>
</div>
<div id="right">
<div id="healthtop">
<div id="bluetopdiv">
<h2>Find your healthy new habit</h2>
<p>Save on vitamins and supplements from top</p>
</div>
<img id="healthimg" src="https://i.ebayimg.com/thumbs/images/g/r68AAOSwBi5eBo2a/s-l960.webp"/>
</div>
<div id="one">
<div class="image" onclick="addFun('1')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/~bQAAOSwe2xb0kaB/s-l225.webp"
alt="" />
<p class="hov">Vitamins</p>
</div>
<div class="image" onclick="addFun('2')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/KPIAAOSw96Zb0kaS/s-l225.webp"
alt="" />
<p class="hov">Dietary Supplements</p>
</div>
<div class="image" onclick="addFun('3')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/mLsAAOSw48Vb0kae/s-l225.webp"
alt="" />
<p class="hov">Aromatherapy</p>
</div>
<div class="image" onclick="addFun('4')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/VbAAAOSw~29b0kaq/s-l225.webp"
alt="" />
<p class="hov">Weight Management</p>
</div>
<div class="image" onclick="addFun('5')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/etYAAOSwFYZb0ka2/s-l225.webp"
alt="" />
<p class="hov">Energy Bars, Shakes</p>
</div>
</div>
<div id="two">
<div class="image" onclick="addFun('6')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/ySYAAOSwo2xb0kbO/s-l225.webp"
alt="" />
<p class="hov">Herbal Remedies</p>
</div>
<div class="image" onclick="addFun('7')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/wYYAAOSwFmFbhDrS/s-l225.webp"
alt="" />
<p class="hov">Light Therapy</p>
</div>
<div class="image" onclick="addFun('8')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/GvsAAOSwKERb0kbn/s-l225.webp"
alt="" />
<p class="hov">Sports Supplements</p>
</div>
<div class="image" onclick="addFun('9')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/AYMAAOSw9~5b0kc4/s-l225.webp"
alt="" />
<p class="hov">Massage Oils & Lotions</p>
</div>
<div class="image" onclick="addFun('10')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/KNsAAOSwVFJb0kdP/s-l225.webp"
alt="" />
<p class="hov">Homeopathic Remedies</p>
</div>
</div>
<div id="bottom">
<div id="b1">
</div>
<div id="sline"></div>
<h2>Direct</h2>
<div id="b2">
<img class="dimg" src="https://i.ebayimg.com/thumbs/images/g/jykAAOSwuE9fk3JS/s-l225.webp"
alt="" />
<img class="dimg" src="https://i.ebayimg.com/thumbs/images/g/9qIAAOSwHI1ahMcY/s-l225.webp"
alt="" />
<img class="dimg" src="https://i.ebayimg.com/thumbs/images/g/Lg0AAOSwz1RcyIsk/s-l225.webp"
alt="" />
<img class="dimg" src="https://i.ebayimg.com/thumbs/images/g/GGoAAOSwCGVX6VcS/s-l225.webp"
alt="" />
</div>
<div id="sline"></div>
<div id="para">
<p>When its time to give your health a helping hand,
everything you need is just a click away.
Sellers on eBay have all of the vital health
supplies and products to help you stay on top of
your wellness while striving for a fitter and more
healthful lifestyle. Cross everything off your
must-have list without breaking the bank when you
browse on eBay. From supplements to mobility
equipment and eyeglass accessories, its never
been easier to grab all of the essentials.
</p>
<p>
Start down the path to a healthier you with natural and
alternative remedies. Sellers on eBay have an assortment of
options that include acupuncture supplies, herbal resins,
light therapy devices, and neti pots. Theres also a large
selection of salon and spa equipment for professionals to
stock up their shops. Find just the right hydraulic barber
chairs, scissors, styling capes, and rolling makeup cases
to complete your collection. If youre starting a fitness
journey, then grab important weight management supplies like
scales, dietary supplements, and weight loss kits. Find the
right vitamins, protein shakes, and energy bars that you can
grab before you head out the door in the morning..</p>
<p>
Keep your eyesight crystal clear with vision care products
from sellers on eBay. Whether you need a cute contact lens
case, eyeglass frames, prescription glasses, or replacement
lenses, youll find products that keep your day in focus.
Make sure your smile is ready to brighten any room with
oral care supplies like mouthwash, toothpaste, electric
toothbrushes, and more. If you have a specific medical
condition, then stock up on essentials like braces and
supports, diabetic aids, inhalers, and orthotics.
You can even find positioning equipment like foam seat
cushions, adjustable leg supports, and medical air
mattresses for a more comfortable daily routine.
From basics to specific products, discovering the
healthy lifestyle supplies you need is simple to do on eBay.
</p>
<div id="sline"></div>
</div>
</div>
</div>
</div>
<div id="footerpart"></div>
</body>
<!-- <script src="./footer/footer.js"></script> -->
</html>
<script type="module">
import { footer } from "./footer/footer.js"
var x = footer()
document.getElementById("footerpart").innerHTML = x
</script>
<script>
function addFun(value) {
// console.log("done");
// localStorage.setItem("category",JSON.stringify(value))
// window.location.href=`${value}.html`;
if (value == '1') {
localStorage.setItem("search_term", "Vitamins");
window.location.href = "Cathealth.html";
}
else if(value=='2')
{
localStorage.setItem("search_term", "Dietary Supplements");
window.location.href = "Cathealth.html";
}
else if(value=='3')
{
localStorage.setItem("search_term", "Aromatherapy");
window.location.href = "Cathealth.html";
}
else if(value=='4')
{
localStorage.setItem("search_term", "Weight Management");
window.location.href = "Cathealth.html";
}
else if(value=='5')
{
localStorage.setItem("search_term", "Energy Bars, Shakes");
window.location.href = "Cathealth.html";
}
else if(value=='6')
{
localStorage.setItem("search_term", "Light Therapy");
window.location.href = "Cathealth.html";
}
else if(value=='7')
{
localStorage.setItem("search_term", "Shaving & Hair Removal");
window.location.href = "Cathealth.html";
}
else if(value=='8')
{
localStorage.setItem("search_term", "Sports Supplements");
window.location.href = "Cathealth.html";
}
else if(value=='9')
{
localStorage.setItem("search_term", "Massage Oils & Lotions");
window.location.href = "Cathealth.html";
}
else if(value=='10')
{
localStorage.setItem("search_term", "Homeopathic Remedies");
window.location.href = "Cathealth.html";
}
}
</script>
<script>
let cat = JSON.parse(localStorage.getItem('yourCart')) || 0;
let xA = document.getElementById('cartData');
xA.innerHTML = cat.length;
xA.addEventListener('click', () => {
window.location.href = 'cart.html';
});
let shubham001 = document.querySelector("#sc23 > input[type=text]")
shubham001.addEventListener("keypress", function (event) {
if (event.code == "Enter") {
localStorage.setItem("search_term", shubham001.value);
window.location.href = "MahiArt.html";
}
})
document.querySelector("#sc2 > button").addEventListener("click", function (event) {
localStorage.setItem("search_term", shubham001.value)
window.location.href = "MahiArt.html"
})
</script>