forked from Shray07/nodestrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
products.html
90 lines (70 loc) · 2.99 KB
/
products.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
<!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="./navbar2 ok/be.css">
<link rel="stylesheet" href="productstyle.css">
<!-- <link rel="stylesheet" href="cart.css"> -->
</head>
<body>
<div id="navibar_set"></div>
<div id="container">
<div id="filters">
<select id="price_filter" onchange="pricefilt()">
<option>Price</option>
<option value="LTH">Low to High</option>
<option value="HTL">High to Low</option>
</select>
<select id="brand_filter" onchange="branndfilt()">
<option>Brand</option>
<option value="Nike">Nike</option>
<option value="adidas">adidas</option>
<option value="Champion">Champion</option>
<option value="JACK&JONES">Jack&jones</option>
<option value="Calvin Klein">Calvin Klein</option>
</select>
<select id="color_filter" onchange="colorfilt()">
<option>Color</option>
<option value="black">Black</option>
<option value="grey">Grey</option>
<option value="white">White</option>
<option value="orange">Orange</option>
<option value="green">Green</option>
<option value="pink">Pink</option>
</select>
<select id="type_filter" onchange="typefilt()">
<option value="">Type</option>
<option value="T-shirts">T-shirts</option>
<option value="Jackets">Jackets</option>
<option value="Blazers">Blazers</option>
<option value="pants">pants</option>
</select>
<select id="size_filter" onchange="sizefilt()">
<option value="">Size</option>
<option value="s">small</option>
<option value="m">medium</option>
<option value="l">large</option>
</select>
</div>
<div id="products">
</div>
</div>
<div class="footerDiv"></div>
</body>
</html>
<script src="products.js"></script>
<script type="module">
import navibar_set from "./components/navbar.js"
document.querySelector("#navibar_set").innerHTML = navibar_set()
var signindatalist = JSON.parse(localStorage.getItem("signindatalist"));
if (signindatalist != null) {
document.querySelector("#sin").innerHTML = `<h3><a href="profile.html">Profile > welcome </a></h3`
document.querySelector("#sin1").textContent = signindatalist.name
document.querySelector("#sig").innerHTML = `<h3><a href="cart.html">Cart</a></h3>`
}
import { footerDiv } from "./components/footer.js"
document.querySelector(".footerDiv").innerHTML = footerDiv()
</script>