-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGIRLS3.html
713 lines (683 loc) · 28.9 KB
/
GIRLS3.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
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<!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="GIRLS3.css">
<script src="https://kit.fontawesome.com/f6dcf461c1.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="topp">
<div id="categoryy">
<a href="index.html">WOMEN</a>
<a href="Myteresa.html">MEN</a>
<a href="LANDING3.html">KIDS</a>
<a href="LANDING.html">LIFE</a>
</div>
<div id="sign">
<div id="account"><a href="myAccount.html">Signup for Newsletter</a> </div>
<div id="account"><a href="myAccount.html">My Account</a></div>
<div> <a href="AddToCart.html"> My Wishlist ♡</a></div>
<div>India | English</div>
</div>
</div>
<!-- Navbar -->
<div id="body">
<div><img id="logo" src="https://www.mytheresa.com/skin/frontend/mytheresa/default/images/logo.png?v=20220614T092128" alt="Error"></div>
<div id="miniNav">
<div>
<a href="NEW ARRIVAL3.html"><p>NEW ARRIVALS</p></a>
<a href=""><p>DESIGNERS</p></a>
<a href="GIRLS3.html"><p>GIRLS</p></a>
<a href="BOYS3.html"><p>BOYS</p></a>
<a href="BABY3.html"><p>BABY</p></a>
<a href="SHOES3.html"><p>SHOES</p></a>
<a href="VACATION3.html"><p>VACATION SHOP</p></a>
<a href="SALES3.html"><p>SALE</p></a>
</div>
<div id="searchBar">
<form>
<input type="text" placeholder="Search for....">
<button><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAjVBMVEX///8AAADKysrHx8fNzc2IiIj4+Pjq6ur7+/vt7e3X19eAgIDn5+fc3NzExMTj4+MbGxuoqKh4eHiRkZFKSkpZWVm1tbUrKysiIiLz8/NwcHBeXl6cnJyurq48PDwMDAxLS0soKCh8fHygoKC7u7s4ODhlZWUeHh4xMTE6OjoLCwsVFRVTU1NCQkKVlZV44B4NAAAH3ElEQVR4nO2dbXvqLAyAfWt1depcfa0653TTzen//3nP9jghlba2mgQO5f54rjNCJIUEAqlUHA6Hw+FwOBwOxz9LM2h0N4v+er7uLzbdRtDU3SFEOqNwuKqqrIbhKNDduXtpbryXBN0gL97oXx1Ov+Edrmh35tBu+Lq7W5hu9JRTvRNPUVd3l4vQaRfS7ky7o7vj+WiNXm/S75fByHxrnc7HN+v3y+Q41a1CJn54l3onPHPH0T9m9Pvp/TCM2l44D712NDy8Z01ER0N1HKV0ejt7WwS9S+Ob9oJRe5b2JwstGmQTJC9+UV/RDTLt9Z8T/+5gmrfT8hJ6OT42cv1xcEyandot4j4Xoj5ROrgLi4xCEO6UFp7qZP0tjDqAH/WiI9CqfSiteCS9LU5Pca7bvZsaelR+qZfbGkJmo/zyt39ALWU93SD29EYu++Q93NXc9HIcdVtqaxbvz+x+s+pdfI8zrXPq9D3Wmad8q8M1GttYq+8aPdUelUHFTfVL23wTfMF+7HAG8K/p2PL4pcnBCWI/dIT7ubSiWOtaVOzEuoDvKo9i7WsI/2MKrih+485Kq4q9PZD+QjPbTaGztH8kkZGKD6OBIZkYuDROeMNiGAy2Ce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ids sale</span></div>
<div>
<!-- End of Navbar -->
</div>
<!-- Sort navbar -->
<div id="top">
<div><label><a href="LANDING3.html">kids</a></label><label>/Girls >></label></div>
<div>
<select id="sort">
<option value="Sort by">Sort by</option>
<option value="asc">Price low-to-high</option>
<option value="desc">Price high-to-low</option>
</select>
</div>
</div>
<!-- End of Sort navbar -->
<div id="bottom">
<div id="sidebar">
<p>GIRLS</p>
<div id="cat">
<p>Category</p>
<form id="category">
<input type="checkbox" name="All" id="All" value="All">
<label for="All">All</label><br>
<input type="checkbox" name="Accessories" id="Accessories" value="accessories">
<label for="Accessories">Accessories</label><br>
<input type="checkbox" name="Clothing" id="Clothing" value="clothing">
<label for="Clothing">Clothing</label><br>
<input type="checkbox" name="Shoes" id="Shoes" value="shoes">
<label for="Shoes">Shoes</label><br>
<input type="checkbox" name="bag" id="bag" value="bag">
<label for="bag">Bag</label><br>
</form>
</div>
<div id="brand">
<!-- <p>NEW ARRIVALS</p> -->
<p>Designer</p>
<form id="designer">
<input type="checkbox" name="All" id="All" value="All">
<label for="All">All</label><br>
<input type="checkbox" name="MARC JACOBS KIDS" id="MARC JACOBS KIDS" value="MARC JACOBS KIDS">
<label for="MARC JACOBS KIDS">MARC JACOBS KIDS</label><br>
<input type="checkbox" name="PAADE MODE" id="PAADE MODE" value="PAADE MODE">
<label for="PAADE MODE">PAADE MODE</label><br>
<input type="checkbox" name="CHLOÉ KIDS" id="CHLOÉ KIDS" value="CHLOÉ KIDS">
<label for="CHLOÉ KIDS">CHLOÉ KIDS</label><br>
<input type="checkbox" name="IL GUFO" id="IL GUFO" value="IL GUFO">
<label for="IL GUFO">IL GUFO</label><br>
<input type="checkbox" name="NEW BALANCE KIDS" id="NEW BALANCE KIDS" value="NEW BALANCE KIDS">
<label for="NEW BALANCE KIDS">NEW BALANCE KIDS</label><br>
<input type="checkbox" name="THE ANIMALS OBSERVATORY" id="THE ANIMALS OBSERVATORY" value="THE ANIMALS OBSERVATORY">
<label for="THE ANIMALS OBSERVATORY">THE ANIMALS OBSERVATORY</label><br>
<input type="checkbox" name="KENZO KIDS" id="KENZO KIDS" value="KENZO KIDS">
<label for="KENZO KIDS">KENZO KIDS</label><br>
<input type="checkbox" name="MARC JACOBS KIDS" id="MARC JACOBS KIDS" value="MARC JACOBS KIDS">
<label for="MARC JACOBS KIDS">MARC JACOBS KIDS</label><br>
<input type="checkbox" name="GIVENCHY KIDS" id="GIVENCHY KIDS" value="GIVENCHY KIDS">
<label for="GIVENCHY KIDS">GIVENCHY KIDS</label><br>
</form>
</div>
<div id="color-section">
<p>Colors</p>
<form id="colour">
<input type="checkbox" name="All" id="All" value="All">
<label for="All">All</label><br>
<input type="checkbox" name="Beige" id="Beige" value="beige">
<label for="Beige">Beige</label><br>
<input type="checkbox" name="Blue" id="Blue" value="blue">
<label for="Blue">Blue</label><br>
<input type="checkbox" name="Brown" id="Brown" value="brown">
<label for="Brown">Brown</label><br>
<input type="checkbox" name="green" id="Green" value="green">
<label for="Green">Green</label><br>
<input type="checkbox" name="Pink" id="Pink" value="pink">
<label for="Pink">Pink</label><br>
<input type="checkbox" name="Grey" id="Grey" value="grey">
<label for="Grey">Grey</label><br>
<input type="checkbox" name="Orange" id="Orange" value="orange">
<label for="Orange">Orange</label><br>
<input type="checkbox" name="Purple" id="Purple" value="purple">
<label for="Purple">Purple</label><br>
<input type="checkbox" name="Black" id="Black" value="black">
<label for="Black">Black</label><br>
<input type="checkbox" name="White" id="White" value="white">
<label for="White">White</label><br>
<input type="checkbox" name="Multicoloured" id="Multicoloured" value="multicoloured">
<label for="Multicoloured">Multicoloured</label><br>
</form>
</div>
</div>
<div id="display">
</div>
</div>
<div id="details">
<p>THE LATEST TRENDS IN GIRL’S DESIGNER FASHION</p>
<p class="para">
It’s no secret that daughters often aspire to dress like their fashionable mothers.
For this reason, girls’ clothing and accessories have taken a turn for the better into
high-fashion territory. Gone are the days when you have to dress your tot in uninspiring outfits.
Recently the world’s leading runways have been filled with delightful creations of girls’ designer
fashion that allow you to create exciting ensembles for your little one.
</p>
<p>LIKE MOTHER, LIKE DAUGHTER</p>
<p class="para">
Teaching your daughter about style can be a fantastic bonding exercise.
Whether you are hoping to create the perfect twinning moment in matching printed Dolce &
Gabbana dresses, are yearning for the dreamy aesthetic of Monnalisa, or want to channel the
bohemian vibes of Chloé Kids, our wide selection of designer girls’ clothing will allow you
to find something special that uniquely matches their personal style.
</p>
<p class="para">
We know that moms enjoy buying dresses for their daughters and that getting dressed should always
be fun. With the most current options of girls’ fashion, you will never again have to sacrifice your
own aesthetic in order to get them ready every morning, after all, they are the miniature version
of you.
</p>
<p class="para">
A young lady’s calendar can fill up pretty quickly with after-school activities, birthday party
invitations, and countless sleepovers. Therefore, classic time-saving clothing combinations and an
appropriate pair of girls' shoes is required to suit each occasion. Mytheresa’s selection of fashion
for kids will help them to look stylish from head to toe while they seamlessly maneuver through even their busiest days.
</p>
<p class="para">
Naturally, little girls love adornments, as no outfit can be truly complete without them.
Accessorizing provides major versatility and giving them the chance to choose their own,
will aid in developing their own exquisite taste. From mini designer handbags to embellished
headbands, designer accessories for girls certainly make a great finishing touch.
</p>
<p class="para">
Continue browsing Mytheresa for the finest collection of designer childrenswear and reach out to our
expert Customer Service team for assistance with your purchase.
</p>
<div>
<button> <a href="Myteresa.html"> DESIGNER MEN'S FASHION</a></button>
<button> <a href="index.html">DESIGNER WOMEN'S FASHION</a></button>
</div>
</div>
<footer id="FooterDetails">
<div>
<p>SERVICE & SECURITY</p>
<p>✓ Fast delivery</p>
<p>Delivery within 2 business days</p>
<p>✓ Free returns within 30 days</p>
<p>Convenient return service</p>
<p>✓ Secure payment and data protection</p>
<p>SSL encryption for secure transactions and personal data</p>
</div>
<div>
<p>MYTHERESA</p>
<p>About us</p>
<p> Trust & services</p>
<p>Sustainability</p>
<p> Press</p>
<p> Careers</p>
<p> Investor Relations</p>
<p> Affiliates</p>
</div>
<div>
<p>CUSTOMER CARE</p>
<p>Contact us</p>
<p>Shipping information</p>
<p>Secure payment</p>
<p>Exchanges</p>
<p>Returns</p>
<p>After sale service</p>
<p>Gift card</p>
</div>
<div>
<p>GET TREND UPDATES, STYLE TIPS AND MORE</p>
<input type="email" placeholder="your email address here"><label for="Signup">SIGNUP</label>
<p>Wishlist ♡</p>
<p>Receive personal notifications</p>
<p>Follow us on</p>
<div id="FatherLogo">
<div><img id="LoGo"
src="https://www.abacuspg.co.uk/wp-content/uploads/2016/06/linkedin-logo_318-50643.jpg"
alt="x-icon"></div>
<div><img id="LoGo" src="https://www.billingschamber.com/media/facebook.png" alt="x-icon"></div>
<div><img id="LoGo" src="https://clipart.info/images/ccovers/1534043160twitter-logo-png-black.png"
alt="x-icon"></div>
<div><img id="LoGo"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Pinterest_font_awesome.svg/512px-Pinterest_font_awesome.svg.png?20170908192524"
alt="x-icon"></div>
<div><img id="LoGo"
src="https://i.etsystatic.com/26102212/r/il/a42611/3201074382/il_1140xN.3201074382_hy4l.jpg"
alt="x-icon"></div>
<div><img id="LoGo"
src="https://www.nicepng.com/png/full/14-147850_youtube-play-button-youtube-play-button-black.png"
alt="x-icon"></div>
<div><img id="LoGo"
src="https://static.vecteezy.com/system/resources/previews/001/195/120/non_2x/camera-film-polaroid-png.png"
alt="x-icon"></div>
<!-- <div><img id="LoGo" src="" alt="x-icon"></div>
<div><img id="LoGo" src="" alt="x-icon"></div> -->
</div>
</div>
</footer>
<footer id="LastFooter">
<div id="img">
<p>payment methods:</p><label>
<img src="https://www.wisdom-drops.com/wp-content/uploads/2017/02/paypal-logo-300x117.png" alt="paypal">
</label>
</div>
<div>
copyright © 2006-2022 mytheresa.com
</div>
<div>
<a href="https://www.mytheresa.com/int_en/service/terms-conditions/">terms of use</a>
<a href="https://www.mytheresa.com/int_en/service/privacy-policy/">privacy-policy</a>
<a href="https://www.mytheresa.com/int_en/service/imprint/">imprint</a>
</div>
<div id="imgg1">
<p>delivered by:</p><label id="im">
<img id="imgg2" src="https://assets.dpdhl-brands.com/guides/dhl/guides/design-basics/logo-and-claim/logo/versions-01.png" alt="dhl">
</label>
</div>
</footer>
</body>
</html>
<script>
let girls_data=[{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/aa/P00650800.jpg",
brand: "MARC JACOBS KIDS",
name:"Leopard-print rucksack",
price:66,
cat:"bag",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/70/P00657931.jpg",
brand: "PAADE MODE",
name:"Alma checked seersucker dress",
price:87,
cat:"clothing",
color:"yellow",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/07/P00650080.jpg",
brand: "CHLOÉ KIDS",
name:"Embroidered floral skirt",
price:97,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/67/P00650062.jpg",
brand: "CHLOÉ KIDS",
name:"Embroidered floral blouse",
price:108,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/19/P00646792.jpg",
brand: "IL GUFO",
name:"Floral appliquéd headband",
price:38,
cat:"accessories",
color:"white",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/bd/P00610485.jpg",
brand: "NEW BALANCE KIDS",
name:"574 Core suede sneakers",
price:38,
cat:"shoes",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/58/P00659568.jpg",
brand: "THE ANIMALS OBSERVATORY",
name:"Straw hat",
price:38,
cat:"accessories",
color:"brown",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/17/P00661236.jpg",
brand: "KENZO KIDS",
name:"Printed shorts",
price:55,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/e9/P00650528.jpg",
brand: "CHLOÉ KIDS",
name:"Logo backpack",
price:122,
cat:"bag",
color:"brown",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/b2/P00661234.jpg",
brand: "KENZO KIDS",
name:"Printed shirt",
price:55,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/10/P00652023.jpg",
brand: "KENZO KIDS",
name:"Rubber sandals",
price:34,
cat:"shoes",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/ab/P00651984.jpg",
brand: "KENZO KIDS",
name:"Printed cotton dress",
price:99,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/80/P00650842.jpg",
brand: "MARC JACOBS KIDS",
name:"Leopard-print jersey shorts",
price:38,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/c8/P00661241.jpg",
brand: "KENZO KIDS",
name:"Printed swimsuit",
price:38,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/fa/P00651751.jpg",
brand: "GIVENCHY KIDS",
name:"Logo zipped hoodie",
price:129,
cat:"colthing",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/55/P00652008.jpg",
brand: "KENZO KIDS",
name:"Printed swimsuit",
price:41,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/a0/P00651146.jpg",
brand: "KENZO KIDS",
name:"Logo cotton T-shirt",
price:34,
cat:"clothing",
color:"white",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/57/P00650850.jpg",
brand: "MARC JACOBS KIDS",
name:"Striped track jacket",
price:49,
cat:"clothing",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/99/P00650830.jpg",
brand: "MARC JACOBS KIDS",
name:"Broderie anglaise skirt",
price:44,
cat:"clothing",
color:"white",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/21/P00650851.jpg",
brand: "MARC JACOBS KIDS",
name:"Printed cotton hoodie",
price:52,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/b1/P00651832.jpg",
brand: "GIVENCHY KIDS",
name:"Logo technical jacket",
price:206,
cat:"clothing",
color:"black",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/db/P00651986.jpg",
brand: "KENZO KIDS",
name:"Printed dress",
price:104,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/ff/P00650797.jpg",
brand: "MARC JACOBS KIDS",
name:"Leopard print logo swimsuit",
price:45,
cat:"clothing",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/c5/P00651829.jpg",
brand: "GIVENCHY KIDS",
name:"Tie-dye cotton T-shirt",
price:81,
cat:"clothing",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/6f/P00650301.jpg",
brand: "CHLOÉ KIDS",
name:"Ruffled cotton dress",
price:87,
cat:"girl",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/1c/P00651993.jpg",
brand: "KENZO KIDS",
name:"Leopard printed cotton-blend leggings",
price:89,
cat:"clothing",
color:"blue",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/62/P00652017.jpg",
brand: "KENZO KIDS",
name:"Logo embroidered espadrilles",
price:87,
cat:"shoes",
color:"green",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/66/P00650803.jpg",
brand: "MARC JACOBS KIDS",
name:"Printed rucksack",
price:66,
cat:"bag",
color:"multicoloured",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/c9/P00661261.jpg",
brand: "KENZO KIDS",
name:"Reversible printed bucket hat",
price:34,
cat:"accessories",
color:"pink",
qty:1
},{
img:"https://img.mytheresa.com/560/560/33/jpeg/catalog/product/87/P00651972.jpg",
brand: "KENZO KIDS",
name:"Embroidered cotton jersey dress",
price:55,
cat:"clothing",
color:"blue",
qty:1
}]
let girlsData=JSON.parse(localStorage.getItem("kids-NewArr"))||[]
document.querySelector("#sort").addEventListener("change",function(){
sortMe(girls_data)
})
function sortMe(girls_data)
{
let req = document.querySelector("#sort").value;
if(req=="asc")
{
let asc=girls_data.sort(function(a,b){
if(a.price>b.price) return 1
if(a.price<b.price) return -1
return 0
})
displayProducts(asc)
}
else if(req=="desc")
{
let desc=girls_data.sort(function(a,b){
if(a.price>b.price) return -1
if(a.price<b.price) return 1
return 0
})
displayProducts(desc)
}
}
displayProducts(girls_data)
function displayProducts(girls_data)
{
document.querySelector("#display").innerHTML=""
girls_data.forEach(function(el){
let child_div=document.createElement("div")
let holder=document.createElement("div")
holder.setAttribute("class","holder")
let wish = document.createElement("button")
let heart = document.createElement("i")
heart.setAttribute("class","fas fa-heart")
wish.append(heart)
wish.style.color="grey"
wish.setAttribute("class","btn1")
wish.addEventListener("click",function(){
if(toggle(el,wish)==true)
{
alert("Item already extists in wishlist")
}
else
{
if(wish.style.color=="grey")
{
wish.style.color="red"
}
else
{
wish.style.color="grey"
}
girlsData.push(el)
alert("added")
localStorage.setItem("kids-NewArr",JSON.stringify(girlsData))
}
})
holder.append(wish)
let img = document.createElement("img")
img.setAttribute("src",el.img)
let brand = document.createElement("p")
brand.innerText=el.brand;
let name=document.createElement("p")
name.innerText=el.name;
let price=document.createElement("p")
price.innerText="€"+" "+el.price;
child_div.append(holder,img,brand,name,price)
document.querySelector("#display").append(child_div)
});
}
function toggle(el,wish)
{
let filtered= girlsData.filter(function(elem){
return el.name==elem.name
})
if(filtered.length>0)
{
return true
}
else
{
return false
}
}
let sorting = document.querySelectorAll("#colour>input")
for(let i=0;i<sorting.length;i++)
{
let c = sorting[i].value
sorting[i].addEventListener("click",function(){
colourSort(c)
})
}
function colourSort(c)
{
if(c==="All")
{
displayProducts(girls_data)
}
else
{
let filtered=girls_data.filter(function(el){
return el.color==c
})
if(filtered.length==0)
{
alert("No products found")
}
else
{
displayProducts(filtered)
}
}
}
let sortingBrand = document.querySelectorAll("#designer>input")
for(let i=0;i<sortingBrand.length;i++)
{
let b = sortingBrand[i].value
console.log(b)
sortingBrand[i].addEventListener("click",function(){
brandSort(b)
})
}
function brandSort(b)
{
if(b==="All")
{
displayProducts(girls_data)
}
else
{
let brandFilter=girls_data.filter(function(el){
return el.brand==b
})
if(brandFilter.length==0)
{
alert("No products found")
}
else
{
displayProducts(brandFilter)
}
}
}
let sortingCat = document.querySelectorAll("#category>input")
for(let i=0;i<sortingCat.length;i++)
{
let s = sortingCat[i].value
sortingCat[i].addEventListener("click",function(){
catSort(s)
})
}
function catSort(s)
{
if(s==="All")
{
displayProducts(girls_data)
}
else
{
let catFilter=girls_data.filter(function(el){
return el.cat==s
})
if(catFilter.length==0)
{
alert("No products found")
}
else
{
displayProducts(catFilter)
}
}
}
</script>