forked from yogeshkumawat007/Skinstore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
440 lines (383 loc) · 19.2 KB
/
index.html
File metadata and controls
440 lines (383 loc) · 19.2 KB
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
<!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>SkinStore: Premium Skin Care Online | Free Shipping Over $30</title>
<link rel="stylesheet" href="./Styles/index.css">
<link rel="stylesheet" href="footer.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/63eddf443c.js" crossorigin="anonymous">
</script>
<link rel="icon" href="https://www.skinstore.com/favicon.ico?v=skstrus8.3912.4203" type="image/x-icon">
</head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@100&family=Poppins:wght@300;400&display=swap"
rel="stylesheet" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300&display=swap" rel="stylesheet" />
<body>
<div id="nav-container"></div>
<script src="jhnav.js"></script>
<div class="class1">
<div id="someOtherOffer">
<a href="#####">
<div>
<i class="fa-solid fa-truck"></i> FREE US Shipping Over $49
</div>
</a>
<a href="#####">
<div>
<i class="fa fa-user-plus" aria-hidden="true"></i> Refer a Friend, Get
$20
</div>
</a>
<a href="#####">
<div>
<i class="fas fa-users"></i> New Customers Save 20% - Use Code NEWBIE
</div>
</a>
<a href="#####">
<div><i class="fa-solid fa-mobile-screen"></i> Download Our App</div>
</a>
</div>
<div class="offerbar"> <!-- here I have taken- UP TO 30% OFF with code COUNTDOWN | SHOPNOW -->
<h1 id="shop"> Up to 25% off our Bestselling Brands + Select TWO free gifts when you spend $150+</h1>
</div>
<!-- here I have taken- Big image -->
<div class="slider-container">
<div class="slider">
<div class="slide">
<img src="https://static.thcdn.com/images/xlarge/webp/widgets/121-us/37/original-Page-004%5B1%5D-080137.jpg"
alt="Image 1">
</div>
<div class="slide">
<img src="http://127.0.0.1:5500/construct_week01/images/02Slider.png"
alt="Image 2">
</div>
</div>
<div class="slider-bullets"></div>
</div>
<div class="shopby"> <!-- here I have taken- 6 images horizontal-->
<h1>Best of SkinStore | Shop by Category</h1>
</div>
<div id="Imageline_1">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/04/original-Page-001%5B1%5D-082904.png"
onclick="redirectToProduct()" alt="">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/11/original-Page-002%5B1%5D-082911.png"
onclick="redirectToProduct()" alt="">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/16/original-Page-003%5B1%5D-082916.png"
onclick="redirectToProduct()" alt="">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/38/original-Page-004%5B1%5D-082938.png"
onclick="redirectToProduct()" alt="">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/45/original-Page-005%5B1%5D-082945.png"
onclick="redirectToProduct()" alt="">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/52/original-Page-006%5B1%5D-082952.png"
onclick="redirectToProduct()" alt="">
</div>
<div class="product_head">
<h1>Top Influencer Picks</h1>
</div>
<!-- <div class="btn">
<button id="sell">Best Sellers</button>
<button>Clean Beauty</button>
<button>New Arrivals</button>
</div> -->
<div class="bodyFirst">
<div class="bodyFirstTitle">
</div>
<div class="bodyFirstDetails">
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/original/11291496-1824871578503201.jpg"
alt="" />
<div class="productDetails" id="disc">
<h3>SkinCeuticals Phyto A+ Brightening Treatment 1 fl. oz</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/original/12664555-1915073435052740.jpg"
alt="" />
<div class="productDetails">
<h3>Grow Gorgeous Density Serum Intense 60ml</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp/productimg/1600/1600/11599959-5774568545135383.jpg"
alt="" />
<div class="productDetails">
<h3>Obagi Medical Professional-C Serum 20% Strength</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/1600/1600/12434150-2734735531121838.png"
alt="" />
<div class="productDetails">
<h3>SkinCeuticals C E Ferulic with 15% L-Ascorbic</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
</div>
</div>
<div id="trendingOffers">Trending Offers</div>
<div class="trendingOffer">
<div>
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/41/1224-STDCRE-28425-WC-SS-SkinStore-January-Photography-2022-BATCHING_Shot17-600x600-053341.jpg"
alt="" />
<h3>SkinCeuticals Gift</h3>
<p>
Receive a SkinCeuticals Phyto Corrective Gel when you spend $150 or more on the brand.
</p>
<div onclick="redirectToProduct()" id="shopNow" class="trendgap">SHOP NOW</div>
</div>
<div>
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/33/MicrosoftTeams-image_%287%29-042833.png"
alt="" />
<h3>Medik8 Gift</h3>
<p>
Receive a Medik8 Try Me Intelligent Retinol 3TR Serum 4ml when you spend $85.
</p>
<div onclick="redirectToProduct()" id="shopNow" class="trendgap">SHOP NOW</div>
</div>
<div>
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/28/original-NB_MOISTURIZERS-080111-023728.jpg"
alt="" />
<h3>$20 Natura Bissé Gift</h3>
<p>
Shop Natura Bissé luxury skincare and receive a complimentary
</p>
<div onclick="redirectToProduct()" id="shopNow" class="trendgap">SHOP NOW</div>
</div>
<div>
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/23/0225-STDCRE-32155-SS-BME-Skinstore-March-Photography-2022_Part_2-_Lookbook-BATCHING-SHOT_03-600x600-092523.jpg"
alt="" />
<h3>Erborian Gift</h3>
<p>
Receive an Erborian Pink Primer & Care 5ml when you spend $40
</p>
<div onclick="redirectToProduct()" id="shopNow" class="trendgap">SHOP NOW</div>
</div>
<div>
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/44/Screenshot_2022-03-21_143101-011744.png"
alt="" />
<h3>$26 PCA Skin Gift</h3>
<p>
Receive a PCA Skin ExLinea Peptide Smoothing Serum ($26 Value) when you spend $65 on the brand.
</p>
<div onclick="redirectToProduct()" id="shopNow" class="trendgap">SHOP NOW</div>
</div>
<div>
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/03/0224-STDCRE-32153-SS-BME-Skinstore-March-2022-Photography-Batching-Shot_13-600x600-042603.jpg"
alt="" />
<h3>Brand of the Month: TriPollar</h3>
<p>
NEW IN: TriPollar DESIRE! TriPollar uses clinical expertise.
</p>
<div onclick="redirectToProduct()" id="shopNow" class="trendgap">SHOP NOW</div>
</div>
</div>
<div class="vitc">
<div class="bodyFirstTitle">
Vitamin C Essentials
</div>
<div class="bodyFirstDetails">
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/480/480/13516546-2844930071318699.jpg"
alt="" />
<div class="productDetails" id="disc">
<h3>SkinCeuticals Phyto A+ Brightening Treatment 1 fl. oz</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/480/480/11927426-2014713645552216.jpg"
alt="" />
<div class="productDetails">
<h3>Grow Gorgeous Density Serum Intense 60ml</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/480/480/11291543-1414871574706341.jpg"
alt="" />
<div class="productDetails">
<h3>Obagi Medical Professional-C Serum 20% Strength</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/small/webp//productimg/original/11976677-1854978637970675.jpg"
alt="" />
<div class="productDetails">
<h3>Obagi Medical Professional-C Serum 20% Strength</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
</div>
</div>
<div class="vitc">
<div class="bodyFirstTitle">
Bundles & Sets
</div>
<div class="bodyFirstDetails">
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/large/webp//productimg/1600/1600/12596429-3594871019700125.jpg"
alt="" />
<div class="productDetails" id="disc">
<h3>Christophe Robin Regenerating Mask with Prickly Pear </h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/large/webp//productimg/1600/1600/11429291-1615038190555292.jpg"
alt="" />
<div class="productDetails">
<h3>Grow Gorgeous Density Serum Intense 60ml</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/large/webp//productimg/1600/1600/11291537-1675058750799887.jpg"
alt="" />
<div class="productDetails">
<h3>Obagi Medical Professional-C Serum 20% Strength</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://static.thcdn.com/images/large/webp//productimg/1600/1600/11523630-4395018245078593.jpg"
alt="" />
<div class="productDetails">
<h3>Obagi Medical Professional-C Serum 20% Strength</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
</div>
</div>
<div class="belowicon" onclick="redirectToProduct()">
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/05/220322-ELTAMD-LOGO-RGB-01-065127-091005.png"
alt="" />
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/19/180x72_4_233548301_CA_SS_Logo_Amend_BAU_THG0030424-041301-124116-063126-091019.png"
alt="" />
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/55/iSCLINICAL_Logo_Blue-300x280-092155.png"
alt="" />
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/46/original-NF_Skinstore_Banner_Logo_Color_320x140-01-011402-010546.png"
alt="" />
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/08/original-original-logo-1024x383-035229-063318-092208.png"
alt="" />
<img src="https://static.thcdn.com/images/small/webp/widgets/121-us/36/NEOCUTIS-Logo_PMS-092536.png"
alt="" />
</div>
<div class="vitc">
<div class="bodyFirstTitle">
Recommended for you
</div>
<div class="bodyFirstDetails">
<div class="gapofdiv">
<img src="https://s4.thcdn.com//productimg/1600/1600/11289609-4505043613045506.jpg" alt="" />
<div class="productDetails" id="disc">
<h3>SkinCeuticals C E Ferulic with 15% L-Ascorbic Acid Vitamin C Serum 30ml</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">Quick Buy</div>
</div>
<div class="gapofdiv">
<img src="https://s4.thcdn.com//productimg/1600/1600/11395385-2085043599411160.jpg" alt="" />
<div class="productDetails">
<h3>SkinCeuticals Hyaluronic Acid Intensifier Hydrating Serum 1 fl. oz</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://s4.thcdn.com//productimg/1600/1600/11290635-9025043619566462.jpg" alt="" />
<div class="productDetails">
<h3>SkinCeuticals C E Ferulic with 15% L-Ascorbic Acid Vitamin C Serum 30ml</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
<div class="gapofdiv">
<img src="https://s4.thcdn.com//productimg/1600/1600/12691021-4594900606618749.jpg" alt="" />
<div class="productDetails">
<h3>NEST New York Pumpkin Chai Classic Candle 230g Acid Vitamin C Serum 30ml</h3>
</div>
<div class="productDetails">$105.00</div>
<div onclick="redirectToProduct()" class="shopNow">SHOP NOW</div>
</div>
</div>
</div>
<div class="randombar">
<img src="https://static.thcdn.com/images/xlarge/webp/widgets/121-us/54/original-Page-005-035154.png"
alt="">
</div>
</div>
<div id="footer"></div>
</body>
<script src="footer.js"></script>
</html>
<script>
function redirectToProduct() {
window.location.href = "Product.html";
}
function redirectToHome() {
window.location.href = "index.html";
}
const slider = document.querySelector(".slider");
const slides = document.querySelectorAll(".slide");
const bulletContainer = document.querySelector(".slider-bullets");
let currentIndex = 0;
function updateSlider() {
slider.style.transform = `translateX(-${currentIndex * 100}%)`;
const bullets = document.querySelectorAll(".slider-bullet");
bullets.forEach((bullet, index) => {
if (index === currentIndex) {
bullet.classList.add("active");
} else {
bullet.classList.remove("active");
}
});
}
function nextSlide() {
currentIndex = (currentIndex + 1) % slides.length;
updateSlider();
}
function prevSlide() {
currentIndex = (currentIndex - 1 + slides.length) % slides.length;
updateSlider();
}
slides.forEach((slide, index) => {
const bullet = document.createElement("div");
bullet.classList.add("slider-bullet");
if (index === 0) {
bullet.classList.add("active");
}
bullet.addEventListener("click", () => {
currentIndex = index;
updateSlider();
});
bulletContainer.appendChild(bullet);
});
setInterval(nextSlide, 3000); // Auto-advance the slider every 3 seconds
updateSlider(); // Initialize the slider
$(function () {
$("#footer").load("footer.html");
});
</script>