-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (79 loc) · 3.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your e-commerce website for high-quality products.">
<meta name="keywords" content="e-commerce, products, buy online">
<meta name="author" content="Your Name">
<title>E-Commerce</title>
<link rel="stylesheet" href="styles.css">
<script src="script.js" defer></script>
<script src="wishlist.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<!-- Sticky Header -->
<header class="sticky-header">
<div class="logo">E-Shop</div>
<nav>
<ul class="nav">
<li class="nav-item"><a class="nav-link" href="">Home</a></li>
<li class="nav-item"><a class="nav-link" href="product.html">Products</a></li>
<li class="nav-item"><a class="nav-link" href="cart.html">Cart</a></li>
<li class="nav-item"><a class="nav-link" href="shipping.html">Shipping</a></li>
<li class="nav-item"><a class="nav-link" href="order_history.html">Order History</a></li>
<li class="nav-item"><a class="nav-link" href="wishlist.html">Wishlist</a></li>
<li class="nav-item"><a class="nav-link" href="product_details.html">Product Details</a></li>
<li class="nav-item"><a class="nav-link" href="auth.html">Login</a></li>
</ul>
</nav>
<div class="cart-icon">
<a href="cart.html">Cart</a>
</div>
</header>
<!-- Search and Filter Section -->
<div class="search-filter-section container">
<input type="text" id="search-bar" class="form-control" placeholder="Search products..." onkeyup="searchProducts()">
<select id="category-filter" class="form-control" onchange="filterProducts()">
<option value="all">All Categories</option>
<option value="electronics">Electronics</option>
<option value="clothing">Clothing</option>
<option value="books">Books</option>
</select>
<select id="price-filter" class="form-control" onchange="filterProducts()">
<option value="all">All Prices</option>
<option value="low">Under $50</option>
<option value="mid">$50 - $100</option>
<option value="high">Over $100</option>
</select>
<select id="brand-filter" class="form-control" onchange="filterProducts()">
<option value="all">All Brands</option>
<option value="brandA">Brand A</option>
<option value="brandB">Brand B</option>
</select>
<select id="rating-filter" class="form-control" onchange="filterProducts()">
<option value="all">All Ratings</option>
<option value="4">4 Stars & Up</option>
<option value="3">3 Stars & Up</option>
</select>
<div class="language-select-wrapper">
<select id="language-select" class="form-control" onchange="changeLanguage()">
<option value="en">English</option>
<option value="es">Spanish</option>
</select>
</div>
</div>
<!-- Product Listing -->
<section class="products container">
<h2>Featured Products</h2>
<div class="product-grid" id="product-list">
<!-- Products will be dynamically added here -->
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2024 E-Shop. All rights reserved.</p>
</footer>
</body>
</html>