-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
556 lines (478 loc) · 19.9 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>E-commerce | Webscrape Master</title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
<style>
/* Use the "Open Sans" font for the entire website */
body {
font-family: 'Open Sans', sans-serif;
}
/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
}
/* Set a common font family and background color */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
/* Style the header and navigation */
header {
background-color: #333;
color: #fff;
padding: 10px 0;
}
nav {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.logo h1 {
font-size: 1.5rem;
}
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin-right: 20px;
}
.nav-links a {
text-decoration: none;
color: #fff;
transition: color 0.3s;
}
.nav-links a:hover {
color: #ff9900;
}
.cart a {
background-color: #ff9900;
color: #333;
padding: 10px 15px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.cart a:hover {
background-color: #333;
color: #ff9900;
}
/* ... (previous styles) ... */
/* Style the navigation links */
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin-right: 20px;
}
.nav-links a {
text-decoration: none;
color: #fff;
transition: color 0.3s;
}
.nav-links a:hover {
color: #ff9900;
}
/* Style the menu icon */
.menu-icon {
display: none; /* Initially hidden */
font-size: 2rem;
cursor: pointer;
color: #fff;
}
/* Media query for screens below 768px width (adjust as needed) */
@media (max-width: 768px) {
.menu-icon {
display: block; /* Display the menu icon */
}
.nav-links {
display: none; /* Hide the navigation links */
flex-direction: column;
background-color: #333;
position: absolute;
top: 60px; /* Adjust the top position as needed */
left: 0;
right: 0;
z-index: 1;
text-align: center;
}
.nav-links.active {
display: flex; /* Show the links when the menu is active */
}
.nav-links li {
margin-right: 0; /* Remove the margin */
margin-bottom: 10px;
}
}
/* Style the banner section */
.banner {
background-image: url('img/banner.jpg');
background-size: cover;
text-align: center;
padding: 80px 0;
}
.banner h2 {
font-size: 2.5rem;
margin-bottom: 10px;
}
.banner p {
font-size: 1.2rem;
}
/* Style the product listing */
.product {
background-color: #fff;
margin: 20px;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.product img {
max-width: 100%;
height: auto;
}
.product-name {
font-size: 1.5rem;
margin: 10px 0;
}
.product-details {
font-size: 1rem;
color: #666;
}
.product-price {
font-size: 1.25rem;
color: #ff9900;
margin: 10px 0;
}
.product-reviews {
display: flex;
align-items: center;
color: #333;
margin-top: 10px;
}
.star {
font-size: 1.2rem;
margin-right: 5px;
color: #ff9900;
}
.review-count {
font-size: 1rem;
}
.buy-button {
background-color: #ff9900;
color: #333;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.buy-button:hover {
background-color: #333;
color: #ff9900;
}
/* Style the footer */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
</style>
</head>
<body>
<header>
<nav>
<div class="logo">
<h1>Webscrape Master</h1>
</div>
<div class="menu-icon">☰</div>
<ul class="nav-links">
<li><a href="#">Home</a></li>
<li><a href="#">Shop</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="cart">
<a href="#">Cart</a>
</div>
</nav>
</header>
<section class="banner">
<h2>Welcome to E-commerce</h2>
<p>Your one-stop destination for amazing products.</p>
</section>
<div class="products">
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Smartphone X1</h3>
<p class="product-details">6.2-inch display, 128GB storage, 16MP camera</p>
<p class="product-price">$399.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.8 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Laptop ProBook 15</h3>
<p class="product-details">15.6-inch Full HD, Intel i7 processor, 512GB SSD</p>
<p class="product-price">$899.00</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.5 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Wireless Headphones H2</h3>
<p class="product-details">Noise-canceling, 20-hour battery life, Bluetooth</p>
<p class="product-price">$129.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.7 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Smart Watch S3</h3>
<p class="product-details">Heart rate monitor, GPS, waterproof, fitness tracker</p>
<p class="product-price">$149.95</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.6 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">4K Ultra HD TV U55</h3>
<p class="product-details">55-inch display, Smart TV, HDR, Dolby Vision</p>
<p class="product-price">$799.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.9 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Digital Camera D10</h3>
<p class="product-details">20MP, 4K video, Wi-Fi connectivity</p>
<p class="product-price">$349.00</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.4 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Coffee Maker C7</h3>
<p class="product-details">12-cup capacity, programmable timer, auto shut-off</p>
<p class="product-price">$49.95</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.3 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Gaming Console G6</h3>
<p class="product-details">4K gaming, 1TB storage, multiplayer support</p>
<p class="product-price">$499.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.8 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Fitness Tracker F4</h3>
<p class="product-details">Step counter, sleep monitor, heart rate sensor</p>
<p class="product-price">$79.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.6 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Bluetooth Speaker B12</h3>
<p class="product-details">Portable, waterproof, 10-hour battery life</p>
<p class="product-price">$69.95</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.5 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Vacuum Cleaner V9</h3>
<p class="product-details">Bagless, HEPA filter, pet hair removal</p>
<p class="product-price">$199.00</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.7 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Designer Handbag H5</h3>
<p class="product-details">Genuine leather, adjustable strap, stylish design</p>
<p class="product-price">$249.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.9 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Hiking Boots B8</h3>
<p class="product-details">Waterproof, durable, available in multiple sizes</p>
<p class="product-price">$119.95</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.6 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Blender MasterBlend M3</h3>
<p class="product-details">700W motor, 6-speed settings, stainless steel blades</p>
<p class="product-price">$59.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.4 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Digital Watch W2</h3>
<p class="product-details">Water-resistant, date display, leather band</p>
<p class="product-price">$89.95</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.5 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Home Security Camera S7</h3>
<p class="product-details">1080p resolution, night vision, motion detection</p>
<p class="product-price">$129.00</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.7 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Cookware Set C10</h3>
<p class="product-details">Non-stick, 10-piece set with lids, dishwasher safe</p>
<p class="product-price">$149.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.8 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Wireless Mouse M5</h3>
<p class="product-details">Ergonomic design, adjustable DPI, plug and play</p>
<p class="product-price">$24.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.5 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Toaster Oven T3</h3>
<p class="product-details">4-slice capacity, timer, bake and broil functions</p>
<p class="product-price">$39.95</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.3 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
<div class="product">
<img src="product-image.jpg" alt="Product Image">
<h3 class="product-name">Backpack Traveler B5</h3>
<p class="product-details">Waterproof, multiple compartments, padded straps</p>
<p class="product-price">$59.99</p>
<div class="product-reviews">
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span
class="star">★</span>
<span class="star">☆</span>
<span class="review-count">(4.6 Reviews)</span>
</div>
<button class="buy-button">Buy Now</button>
</div>
</div>
<footer>
<p>© 2023 Webscrape Master</p>
</footer>
</body>
</html>