-
Notifications
You must be signed in to change notification settings - Fork 3
/
handSoapsAndSanitizers.html
559 lines (526 loc) · 29.6 KB
/
handSoapsAndSanitizers.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
548
549
550
551
552
553
554
555
556
557
558
559
<!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>Hand Soap, Sanitizer & PocketBac | Bath & Body Works</title>
<link rel="icon" href="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/en_US/v1651757968673/css/images/gingham-pattern.svg?yocs=o_s_" />
<link rel="stylesheet" href="navbar.css">
<link rel="stylesheet" href="sidebar.css">
<link rel="stylesheet" href="common.css">
<link rel="stylesheet" href="footer.css">
</head>
<body>
<div id="top-wrap">
<div id="blue-strip"></div>
<div class="wrap">
<div class='start_nav'>
<div class="start_box"></div>
</div>
<div class="logo">
<a href="index.html"><img src="https://www.bathandbodyworks.com/on/demandware.static/Sites-BathAndBodyWorks-Site/-/default/dw255cc1f3/images/svg-icons/Logos-main.svg"></a>
</div>
<div class="end_nav">
<div class="search-bar">
<input type="text" placeholder="Search by fragrance or product....">
<button><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/default/dw729fd72d/images/svg-icons/UI-Search-v2.svg?yocs=o_s_"></button>
</div>
<div id="top-offers"><img src="https://www.bathandbodyworks.com/on/demandware.static/Sites-BathAndBodyWorks-Site/-/default/dw30b04df1/images/svg-icons/UI-Tag-v2.svg"></div>
<div id='myAccount'><img src="https://www.bathandbodyworks.com/on/demandware.static/Sites-BathAndBodyWorks-Site/-/default/dwc847d762/images/svg-icons/UI-MyAccount.svg"></div>
<div id='cart'><a href="cart.html"><img src="https://www.bathandbodyworks.com/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1615459561027/images/svg-icons/UI-AddToBag.svg"></a></div>
<div class="account" id='account'>
<ul>
<li><a href="signin.html">Sign In or Sign Up</a></li>
<li><a href="#">Track order</a></li>
<li><a href="#">My loveit list</a></li>
</ul>
</div>
</div>
</div>
</div>
<nav>
<ul class="nav-links">
<div id='close-btn'><img src="https://www.bathandbodyworks.com/on/demandware.static/Sites-BathAndBodyWorks-Site/-/default/dw57a458d6/images/svg-icons/UI-Close-blue.svg" height="20px"></div>
<li id="nav-dropdown0"><a href="new_now.html">NEW & NOW</a>
<div class="drop">
<ul class="category">
<li class="nav-sub-dropdown">FEATURED
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">BATH & SHOWER
<ul class="sub-category">
<li>All Bath & Shower</li>
<li>Body Wash & Shower Gel</li>
<li>Body Scrub</li>
<li>Bath Accessories</li>
</ul>
</li>
<li class="nav-sub-dropdown">MOISTURIZERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown"><a href="#">FRAGRANCE</a>
<ul class="sub-category">
<li>All Bath & Shower</li>
<li>Body Wash & Shower Gel</li>
<li>Body Scrub</li>
<li>Bath Accessories</li>
</ul>
</li>
<li class="nav-sub-dropdown">AROMATHERAPY
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">MEN'S
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">BODY CARE OFFERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
</ul>
</li>
<li>EXPLORE BODY CARE</li>
</ul>
<div class="cat-col-2">
<p>BODY CARE OFFERS</p>
<p> Buy 3, Get 2 Free Select Body Care</p>
<p> Buy 2, Get 1 Free Trial Size</p>
</div>
</div>
</li>
<li id="nav-dropdown1"><a href="Body_care.html">BODY CARE</a>
<div class="drop">
<ul class="category">
<li class="nav-sub-dropdown">FEATURED
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">BATH & SHOWER
<ul class="sub-category">
<li>All Bath & Shower</li>
<li>Body Wash & Shower Gel</li>
<li>Body Scrub</li>
<li>Bath Accessories</li>
</ul>
</li>
<li class="nav-sub-dropdown">MOISTURIZERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">FRAGRANCE
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">AROMATHERAPY
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">MEN'S
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">BODY CARE OFFERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
</ul>
</li>
<li>EXPLORE BODY CARE</li>
</ul>
<div class="cat-col-2">
<p>BODY CARE OFFERS</p>
<p> Buy 3, Get 2 Free Select Body Care</p>
<p> Buy 2, Get 1 Free Trial Size</p>
</div>
</div>
</li>
<li id="nav-dropdown2"><a href="handSoapsAndSanitizers.html">HAND SOAP & SANITIZERS</a>
<div class="drop">
<ul class="category">
<li class="nav-sub-dropdown">FEATURED
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown"> CANDLES
<ul class="sub-category">
<li><a href="#">All Candles</a></li>
<li>Body Wash & Shower Gel</li>
<li>Body Scrub</li>
<li>Bath Accessories</li>
</ul>
</li>
<li class="nav-sub-dropdown">AIR FRESHENERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown"> HOME FRAGRANCE OFFERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
</ul>
<div class="cat-col-2">
<p>5/$24 Wallflowers Fragrance Refills</p>
<p> 2/$20 Single Wick Candles</p>
<p> 3/$20 Room Sprays</p>
<p> 3/$9 Car Fragrance Refills</p>
<p>EXPLORE HOME FRAGRANCE</p>
</div>
</div>
</li>
<li id="nav-dropdown3"><a href="homeFragrance.html">HOME FRAGRANCE</a>
<div class="drop">
<ul class="category">
<li class="nav-sub-dropdown">FEATURED
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">BATH & SHOWER
<ul class="sub-category">
<li>All Bath & Shower</li>
<li>Body Wash & Shower Gel</li>
<li>Body Scrub</li>
<li>Bath Accessories</li>
</ul>
</li>
<li class="nav-sub-dropdown">MOISTURIZERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">FRAGRANCE
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">AROMATHERAPY
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">MEN'S
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
<li>Travel Size</li>
</ul>
</li>
<li class="nav-sub-dropdown">BODY CARE OFFERS
<ul class="sub-category">
<li>New Body Care</li>
<li>Customer Favorites</li>
<li>Retired Fragrances</li>
</ul>
</li>
<li>EXPLORE BODY CARE</li>
</ul>
<div class="cat-col-2">
<p>BODY CARE OFFERS</p>
<p> Buy 3, Get 2 Free Select Body Care</p>
<p> Buy 2, Get 1 Free Trial Size</p>
</div>
</div>
</li>
<li><a href="gifts.html">GIFTS</a></li>
<li><a href="topoffers.html">TOP OFFERS</a></li>
</ul>
</nav>
<div id="container">
<div id="sidebar">
<div>
<h5>TOP OFFERS</h5><br>
<ul style="list-style-type:none;">
<li><a href="#">$3.95 Wallflowers<br>Fragrance Refills</a></li><br>
<li><a href="#">2/$20 Single Wick<br>Candles</a></li><br>
<li><a href="#">3/$20 Room Sprays</a></li><br>
<li><a href="#">3/$9 Car Fragrance<br>Regills</a></li><br>
</ul>
</div>
<div>
<h5>FEATURED</h5><br>
<ul style="list-style-type:none;">
<li><a href="#">New Home Fragrances</a></li><br>
<li><a href="#">The White Barn Shop</a></li><br>
</ul>
</div>
<div>
<h5>CANDLES</h5><br>
<ul style="list-style-type:none;">
<li><a href="#">All Candles</a></li><br>
<li><a href="#">3 Wick-Candles</a></li><br>
<li><a href="#">Single Wick Candles</a></li><br>
<li><a href="#">Candle Holders &<br>Accessories</a></li><br>
</ul>
</div>
<div>
<h5>AIR FRESHNERS</h5><br>
<ul style="list-style-type:none;">
<li><a href="#">All WallFlowers</a></li><br>
<li><a href="#">WallFlowers Plugs</a></li><br>
<li><a href="#">WallFlowers Refills</a></li><br>
<li><a href="#">Room Sprays & Mists</a></li><br>
<li><a href="#">Car Fragrance</a></li><br>
</ul>
</div>
</div>
<div id="contents">
<div>
<p id="title">Hand Soaps & Sanitizers</p><br>
<hr><br><br>
<img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dw300d16be/images/Spring2022/sp_hhq_0_sp1_lb.jpg?yocs=s_"
width="100%" alt="Healthy Hands Headquarters" />
<br><br><br><br>
<p id="p"><span>SHOP BY CATEGORY</span></p>
</div>
<br><br><br><br><br><br><br><br>
<div id="shop_category">
<div>
<img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dwc2ca9e1d/images/Spring2022/sp_spring-foaming_0_sp1_vn.jpg?yocs=o_s_"
width="100%" alt="" />
<button>FOAMING SOAPS</button>
</div>
<div>
<img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dw48c056fd/images/Spring2022/sp_spring-gel_0_sp1_vn.jpg?yocs=o_s_"
width='100%' alt="" />
<button>GEL SOAPS</button>
</div>
<div>
<img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dwc5809785/images/Spring2022/sn_all-sani_0_c1_vn.jpg?yocs=o_s_"
width="100%" alt="" />
<button>ALL SANITIZERS</button>
</div>
<div>
<img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dw5b556c47/images/Spring2022/sp_spring-all_0_sp1_vn.jpg?yocs=o_s_"
width="100%" alt="" />
<button>ALL SOAPS</button>
</div>
</div>
<div id="image_2">
<img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dw5be7ba21/images/Spring2022/sp_core_0_sp1_lb.jpg?yocs=s_" width="100%" alt="">
</div>
<br><br><br><br><br>
<br><br><br><br><br>
<div id="text_container">
<h2>About Hand Soaps & Sanitizers from Bath & Body Works</h2>
<p>Hand soaps: we use them every day, multiple times, and they leave us feeling so soft and clean. And honestly, they smell amazing, so there’s no shame in stocking up on your favorites or discovering new ones.</p>
<p>Our foaming hand soaps are on everyone’s list. Super-luxe cloud of gentle cleanser? Check. Soothing aloe, natural essential oils, moisturizing shea extract and nourishing vitamin E? You got it. Available in every scent imaginable from fruity to exotic? Yep. Plus, the chic, colorful bottles look amazing on any sink. (Traditional hand soaps are just as effective as anti-bacterial soaps when you wash for 20 seconds*.)</p>
<p>But what if your hands are too dry? Grab a bottle of nourishing hand soap. You might need some extra moisture and this creamy, silky formula is packed full of skin-loving ingredients, like essential oils and vitamin E, to condition your hands every wash. And introducing out latest addition to the hand soaps family: gentle gel hand soaps. They're made without dyes or parabens, but are full of the fragrance you love and the ingredients you need to maintain your skin's natural moisture barrier.</p>
<p>Don’t forget to decorate with a soap holder! Whether it’s a piece that matches your décor or adds a pop of glam to your sink counter, you’ll definitely find your perfect match.</p>
<p>P.S. Soap is a great way to keep germs away, but what if you’re on the go? Grab one of our PocketBac hand sanitizers! Enriched with shea extract, vitamin E, 71% alcohol and aloe, Bath & Body Works hand sanitizers kill 99.9% of most common germs and keep your hands clean and soft. Plus, they look super cute when you pop them into a PocketBac holder.</p>
<p>*According to FDA: There is currently no evidence that anti-bacterial soaps are any more effective at preventing illness than normal soap and water. See more at FDA.gov.</p>
</div>
</div>
</div>
<footer>
<div class="footer-links">
<div class="col col-1">
<p>Get email offers & the latest news from Bath & <br> Body Works!</p>
<div class="footer-form">
<label>Enter Email</label>
<div class="email"><input type="email"> <img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/UI-Information.svg?yocs=o_s_" height="17px"></div>
<label>Confirm Email</label>
<div class="email"><input type="email"><button>Submit</button></div>
</div>
<div class="social-media">
<label>GET CONNECTED</label>
<ul class="social-media-icon">
<li><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/Social-fb-reverse.svg?yocs=o_s_" height="20px" style="background-color:#3460a1; border-radius: 20px; padding:10px;"></li>
<li><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/Social-twitter-reverse.svg?yocs=o_s_" height="20px" style="background-color:#28aae1; border-radius: 20px; padding:10px;"></li>
<li><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/Social-ig-reverse.svg?yocs=o_s_" height="20px"style="background-color:#35648b; border-radius: 18px; padding:10px;"></li>
<li><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/Social-tiktok-reverse.svg?yocs=o_s_" height="20px"style="background-color:#000; border-radius: 20px;padding:10px;"></li>
<li><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/Social-youtube-reverse.svg?yocs=o_s_" height="20px"style="background-color:#ee3138; border-radius: 16px;padding:10px;"></li>
<li><img src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/Sites-BathAndBodyWorks-Site/-/en_US/v1651757968673/images/svg-icons/Social-pinterest-reverse.svg?yocs=o_s_" height="20px"style="background-color:#ce2129; border-radius: 20px;padding:10px;"></li>
</ul>
</div>
</div>
<div class="help-btn"><p style="margin-left: 20px;">LET US HELP</p></div>
<div class="col col-2">
<p>CUSTOMER CARE</p>
<ul>
<li>Help & FAQs</li>
<li> Shipping</li>
<li> Returns & Exchanges</li>
<li>Order Tracking</li>
<li>Corporate Sales & Gifts</li>
<li> Contact Us</li>
</ul>
</div>
<div class="col col-3">
<p>MY ACCOUNT</p>
<ul>
<li>Sign In or Sign Up</li>
<li>Order Tracking</li>
<li>My Love-It List</li>
</ul>
</div>
<div class="col col-4">
<p> DISCOVER</p>
<ul>
<li>Our Story</li>
<li>Careers</li>
<li> Gift Cards</li>
<li> Videos</li>
<li>Product Ingredients</li>
<li>Get Inspired</li>
</ul>
</div>
<div class="col col-5">
<p>FIND US</p>
<ul>
<li>Store Locator</li>
<li>Global Locations</li>
</ul>
</div>
</div>
<div class="footer-img"><img class="img" src="https://cdn-fsly.yottaa.net/5d669b394f1bbf7cb77826ae/www.bathandbodyworks.com/v~4b.216/on/demandware.static/-/Sites-BathAndBodyWorks-Library/default/dw0c8e6af7/images/evergreen/Happiness_Guaranteedtimes2_v2.jpg?yocs=o_s_"></div>
<div class="end">
<ul>
<li>Site Map </li>
<li>Terms Of Use </li>
<li>Privacy Policy </li>
<li>California Privacy Rights </li>
<li>Do Not Sell My Personal Information (California) </li>
<li>Modern Slavery Transparency Statement </li>
<li>Ad Preferences</li>
</ul>
<p id='copy'>© 2021 Bath & Body Works Direct, Inc. All Rights Reserved.</p>
</div>
</footer>
</body>
<script>
let drop_1 = document.getElementById("nav-dropdown0");
let drop_2 = document.getElementById("nav-dropdown1");
let drop_3 = document.getElementById("nav-dropdown2");
let drop_4 = document.getElementById("nav-dropdown3");
let category = document.getElementsByClassName("category");
let sub_cat_drop = document.getElementsByClassName("nav-sub-dropdown");
let sub_cat_sub_el = document.getElementsByClassName("sub-category");
var dropdowns = document.getElementsByClassName("drop")
drop_1.addEventListener("mouseover",function(){
dropdowns[0].classList.toggle("open-dropdown")
})
drop_1.addEventListener("mouseout",function(){
dropdowns[0].classList.toggle("open-dropdown")
})
drop_2.addEventListener("mouseover",function(){
dropdowns[1].classList.toggle("open-dropdown")
})
drop_2.addEventListener('mouseout',function(){
dropdowns[1].classList.toggle("open-dropdown")
})
drop_3.addEventListener('mouseover',function(){
dropdowns[2].classList.toggle("open-dropdown")
})
drop_3.addEventListener('mouseout',function(){
dropdowns[2].classList.toggle("open-dropdown")
})
drop_4.addEventListener('mouseover',function(){
dropdowns[3].classList.toggle("open-dropdown")
})
drop_4.addEventListener('mouseout',function(){
dropdowns[3].classList.toggle("open-dropdown")
})
for(var i=0;i<sub_cat_drop.length;i++){
sub_cat_drop[i].addEventListener('mouseover',function(){
// console.log(sub_cat_sub_el[3])
event.target.childNodes[1].classList.toggle("open-sub-category")
var a = event.target.parentNode.classList;
})
sub_cat_drop[i].addEventListener('mouseleave',function(){
// console.log(sub_cat_sub_el[3])
event.target.childNodes[1].classList.toggle("open-sub-category")
})
}
//Mobile Nav slide
let opening = document.getElementsByClassName('start_nav');
let navbar = document.getElementsByClassName('nav-links');
let closing = document.getElementById('close-btn')
let nav = document.querySelector('nav');
opening[0].addEventListener('click',function(){
navbar[0].classList.toggle('open-nav');
document.body.style.background = 'rgba(0,0,0,0.4)';
nav.classList.toggle('pos');
nav.style.overflowY = 'scroll';
})
closing.addEventListener('click',function(){
navbar[0].classList.toggle('open-nav')
nav.classList.toggle('pos');
document.body.style.background = 'none';
// nav.style.overflowY = 'scroll';
});
</script>
<script>
let account_drop_btn = document.getElementById('myAccount');
let dropAccount = document.getElementById('account');
account_drop_btn.addEventListener('click',function(){
dropAccount.classList.toggle('open_account')
})
</script>
</html>