forked from anandsinghyadav/Ebay-Website-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeauty.html
547 lines (395 loc) · 18.4 KB
/
beauty.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
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
<!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>
</style>
<body>
<!-- top navber and bottom navbar -->
<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">
<h2>Shop by Category</h2>
<div id="cat">
<ul>
<li class="hov">Bath & Body Products</li>
<li class="hov">Fragrances</li>
<li class="hov">Hair Care & Styling Products</li>
<li class="hov">Makeup Products</li>
<li class="hov">Manicure, Pedicure & Nail Care Products </li>
<li class="hov">Salon & Spa Equipment</li>
<li class="hov">Shaving & Hair Removal Products</li>
<li class="hov">Makeup Products</li>
<li class="hov">Manicure, Pedicure & Nail Care Products </li>
<li class="hov">Salon & Spa Equipment</li>
</ul>
</div>
</div>
<div id="right">
<h2>Shop By Category</h2>
<div id="one">
<div class="image" onclick="addFun('2')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/bJ8AAOSwGsJb0koa/s-l225.webp"
alt="" />
<p class="hov">Fragrances for Men</p>
</div>
<div class="image" onclick="addFun('1')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/jbQAAOSwJjNb0koU/s-l225.webp"
alt="" />
<p class="hov">Fragrances for Women</p>
</div>
<div class="image" onclick="addFun('3')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/BK4AAOSwTxJcL6oW/s-l225.webp"
alt="" />
<p class="hov">Skin Care</p>
</div>
<div class="image" onclick="addFun('4')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/AyoAAOSwH2Vb0kos/s-l225.webp"
alt="" />
<p class="hov">Makeup</p>
</div>
<div class="image" onclick="addFun('5')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/~OUAAOSwsRVb0kox/s-l225.webp"
alt="" />
<p class="hov">Manicure, Pedicure & Nail</p>
</div>
</div>
<div id="two">
<div class="image" onclick="addFun('6')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/NzgAAOSwZhtb0ko8/s-l225.webp"
alt="" />
<p class="hov">Hiar Care & Styling</p>
</div>
<div class="image" onclick="addFun('7')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/OIsAAOSw-nRb0kpF/s-l225.webp"
alt="" />
<p class="hov">Shaving & Hair Removal</p>
</div>
<div class="image" onclick="addFun('8')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/FiMAAOSwPc9W0u~i/s-l225.webp"
alt="" />
<p class="hov">Bath & Body</p>
</div>
<div class="image" onclick="addFun('9')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/s~IAAOSwnFpb0kpQ/s-l225.webp"
alt="" />
<p class="hov">Salon & Spa Equipment</p>
</div>
<div class="image" onclick="addFun('10')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/A98AAOSwXMxb0kpX/s-l225.webp"
alt="" />
<p class="hov">Tattoos & Body Art</p>
</div>
</div>
<div id="bottom">
<div id="b1">
<div id="blue">
<h1>Beauty gifts for everyone</h1>
</div>
<img id="last" src="https://i.ebayimg.com/thumbs/images/g/fycAAOSwaJhhhbWq/s-l960.webp"
alt="" />
</div>
<h2>Emerging Beauty Brands</h2>
<div id="b2">
<div class="Image" onclick="addFun('11')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/adsAAOSwWy5di9Ex/s-l225.webp"
alt="" />
<p class="hov">Captain Blankenship</p>
</div>
<div class="Image" onclick="addFun('12')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/33EAAOSw74Rdi9Fa/s-l225.webp"
alt="" />
<p class="hov">PYT Beauty</p>
</div>
<div class="Image" onclick="addFun('13')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/XHAAAOSwFhZdi9HH/s-l225.webp"
alt="" />
<p class="hov">Herbivore Botanicals</p>
</div>
<div class="Image" onclick="addFun('14')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/bxAAAOSwV11di9ML/s-l225.webp"
alt="" />
<p class="hov">Indie Lee</p>
</div>
<div class="Image" onclick="addFun('15')">
<img class="img" src="https://i.ebayimg.com/thumbs/images/g/BRMAAOSwcTRdi9RG/s-l225.webp"
alt="" />
<p class="hov">Lawless</p>
</div>
</div>
<div id="sline"></div>
<div id="para">
<p>
Give your stock of beauty supplies a boost with <br>
the wide selection of
products on eBay. Wake up ready to start the day
with your favorite creams and powders lining your shelves, or treat yourself
to a pampering weekend at home with salon and spa goodies that
transform your bathroom into an oasis. Whether you want to revamp
your hairdo, grab the perfect shade of lipstick, or find just the
right fragrance for any mood, sellers on eBay have the beauty
necessities you need to feel fresh, day and night
</p>
</div>
<div id="para">
<p> Give your stock of beauty supplies a boost with the wide selection of
products on eBay. Wake up ready to start the day
with your favorite creams and powders lining your shelves, or treat yourself
to a pampering weekend at home with salon and spa goodies that
transform your bathroom into an oasis. Whether you want to revamp
your hairdo, grab the perfect shade of lipstick, or find just the
right fragrance for any mood, sellers on eBay have the beauty
necessities you need to feel fresh, day and night.</p>
<p>
Fragrances for men, women, and teens are sweet-smelling
gifts that you can give year round. Find a variety of scents to
spritz yourself with before you head out the door from big brands
like Calvin Klein, Estee Lauder, Ralph Lauren, and Chanel. When your
collection of cosmetics is running low, sellers on eBay offer
everything from eye shadow to lip liner and blush from brands like
Mac, Urban Decay, and Mary Kay. Grab makeup tools and accessories,
such as brushes, mirrors, sponges, and sharpeners, so that you're
never in a pinch when perfecting your latest look. Don't forget
to pretty up your nails, too. Stock up on dazzling nail art and nail polish hues you need
for every season, from sparkling rhinestones to vibrant lacquer.</p>
<p>
Take care of your skin to make sure you're always glowing.
Discover acne treatments, cleansers, masks, moisturizers,
and an array of other skin care products. Styling your hair
is a breeze with hair care and styling tools from sellers on
eBay. Find great deals on hair color, curlers, smoothing and
straightening products, and even brushes. Give yourself a
trim or a shave for silky smooth skin with hair removal supplies
like razors, tweezers, and electric shavers. When it's time to
wind down for the day, settle into a massage chair and let your
stresses melt away. No matter what beauty item tops your list,
sellers on eBay have what you need to refresh, rejuvenate, and
feel great.
</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", "Fragrances for Men");
window.location.href = "CatBeauty.html";
}
else if (value == '2') {
localStorage.setItem("search_term", "Fragrances for Women");
window.location.href = "CatBeauty.html";
}
else if (value == '3') {
localStorage.setItem("search_term", "Skin Care");
window.location.href = "CatBeauty.html";
}
else if (value == '4') {
localStorage.setItem("search_term", "Makeup");
window.location.href = "CatBeauty.html";
}
else if (value == '5') {
localStorage.setItem("search_term", "Manicure, Pedicure & Nail");
window.location.href = "CatBeauty.html";
}
else if (value == '6') {
localStorage.setItem("search_term", "Hiar Care & Styling");
window.location.href = "CatBeauty.html";
}
else if (value == '7') {
localStorage.setItem("search_term", "Shaving & Hair Removal");
window.location.href = "CatBeauty.html";
}
else if (value == '8') {
localStorage.setItem("search_term", "Bath & Body");
window.location.href = "CatBeauty.html";
}
else if (value == '9') {
localStorage.setItem("search_term", "Salon & Spa Equipment");
window.location.href = "CatBeauty.html";
}
else if (value == '10') {
localStorage.setItem("search_term", "Tattoos & Body Art");
window.location.href = "CatBeauty.html";
}
else if (value == '11') {
localStorage.setItem("search_term", "Captain Blankenship");
window.location.href = "CatBeauty.html";
}
else if (value == '12') {
localStorage.setItem("search_term", "PYT Beauty");
window.location.href = "CatBeauty.html";
}
else if (value == '13') {
localStorage.setItem("search_term", "Herbivore Botanicals");
window.location.href = "CatBeauty.html";
}
else if (value == '14') {
localStorage.setItem("search_term", "Indie Lee");
window.location.href = "CatBeauty.html";
}
else if (value == '15') {
localStorage.setItem("search_term", "Lawless");
window.location.href = "CatBeauty.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 flagfornav = JSON.parse(localStorage.getItem("flagforindex"))
let logindata = JSON.parse(localStorage.getItem("loginData"))
let namefornav = logindata[0].name
console.log(flagfornav)
if (flagfornav == true) {
console.log(namefornav)
document.querySelector("#sc111").textContent = namefornav
}
</script>
<script>
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>
<script>
let catmm = document.querySelectorAll(".hov");
for (let i = 0; i < catmm.length; i++) {
catmm[i].addEventListener("click", function () {
localStorage.setItem("search_term", catmm[i].innerText);
window.location.href = "MahiArt.html";
})
}
// let catmm2 = document.querySelectorAll(".image");
// for (let i = 0; i < catmm2.length; i++) {
// catmm2[i].addEventListener("click", function () {
// localStorage.setItem("search_term", catmm2[i].children[1].innerText);
// window.location.href = "MahiArt.html";
// })
// }
</script>