-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew.html
246 lines (241 loc) · 9.08 KB
/
new.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
<!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>New Arriavals-Worldwide Free Shipping</title>
<link rel="stylesheet" href="./style/newArrival.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="./style/navbar.css" />
<link rel="stylesheet" href="./style/footer.css" />
</head>
<body>
<!-- Navbar------------------------------------------- -->
<div id="navbar"></div>
<!-- heading- NEW ARRIVLAS -->
<div id="headingBg">
<div id="heading"><p>New Arrivals</p></div>
</div>
<div id="conatainer">
<div id="allCategories">
<p>All Categories</p>
<div id="categoreis">
<div>
<p>Smart Home & Garden</p>
<span> <i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Consumer Electronics</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Wearable Devices</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Sports & Outdoors</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Toys & Hobbies</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Computers, Tablets & Accessories</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Phones & Accessories</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>Fashion</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
<div>
<p>TV Boxes & Mini PCs</p>
<span><i class="fa-solid fa-angle-down"></i></span>
</div>
</div>
</div>
<div id="productDetails">
<div id="filters">
<div id="firstRow">
<p>New Arrived :</p>
<p>7 days</p>
<p>15 days</p>
<p>30 days</p>
</div>
<div id="secondRow">
<p>Filter :</p>
<select name="" id="country">
<option value="">Ship From</option>
<option value="">Netherland</option>
<option value="">Europe</option>
<option value="">Poland</option>
<option value="">Germany</option>
<option value="">Spain</option>
<option value="">United States</option>
<option value="">United Kingdom</option>
<option value="">China</option>
<option value="">Russian Federation</option>
<option value="">Canada</option>
<option value="">Japan</option>
</select>
<div class="flex" id="checkbox1">
<input type="checkbox" />
<p>On Sale</p>
</div>
<div class="flex" id="c2">
<input type="checkbox" />
<p>Free Shipping only</p>
</div>
<div class="flex">
<p>Price :</p>
<input type="number" placeholder="Min" class="minmax" />
<p>-</p>
<input type="number" placeholder="Max" class="minmax" />
<button id="okk">OK</button>
</div>
</div>
<div id="firstRow">
<p>Sort By :</p>
<p onclick="sortByName()">Best Match</p>
<p>New Arrival</p>
<p>Price</p>
<select name="" id="sortByPrice" onchange="priceSortFun()">
<option value="empty">Sort by price</option>
<option value="phl">High to Low</option>
<option value="plh">Low to High</option>
</select>
<button id="reset" onclick="pageReloadFun()">Reset</button>
</div>
</div>
<div id="products"></div>
</div>
</div>
<!-- end -section ------------------------------ -->
<div id="endnum">
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-arrow-left-square"
viewBox="0 0 16 16"
>
<path
fill-rule="evenodd"
d="M15 2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2zM0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm11.5 5.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5z"
/>
</svg>
</div>
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-1-square-fill"
viewBox="0 0 16 16"
>
<path
d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2Zm7.283 4.002V12H7.971V5.338h-.065L6.072 6.656V5.385l1.899-1.383h1.312Z"
/>
</svg>
</div>
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-2-square"
viewBox="0 0 16 16"
>
<path
d="M6.646 6.24v.07H5.375v-.064c0-1.213.879-2.402 2.637-2.402 1.582 0 2.613.949 2.613 2.215 0 1.002-.6 1.667-1.287 2.43l-.096.107-1.974 2.22v.077h3.498V12H5.422v-.832l2.97-3.293c.434-.475.903-1.008.903-1.705 0-.744-.557-1.236-1.313-1.236-.843 0-1.336.615-1.336 1.306Z"
/>
<path
d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2Zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2Z"
/>
</svg>
</div>
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-3-square"
viewBox="0 0 16 16"
>
<path
d="M7.918 8.414h-.879V7.342h.838c.78 0 1.348-.522 1.342-1.237 0-.709-.563-1.195-1.348-1.195-.79 0-1.312.498-1.348 1.055H5.275c.036-1.137.95-2.115 2.625-2.121 1.594-.012 2.608.885 2.637 2.062.023 1.137-.885 1.776-1.482 1.875v.07c.703.07 1.71.64 1.734 1.917.024 1.459-1.277 2.396-2.93 2.396-1.705 0-2.707-.967-2.754-2.144H6.33c.059.597.68 1.06 1.541 1.066.973.006 1.6-.563 1.588-1.354-.006-.779-.621-1.318-1.541-1.318Z"
/>
<path
d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2Zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2Z"
/>
</svg>
</div>
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-4-square"
viewBox="0 0 16 16"
>
<path
d="M7.519 5.057c.22-.352.439-.703.657-1.055h1.933v5.332h1.008v1.107H10.11V12H8.85v-1.559H4.978V9.322c.77-1.427 1.656-2.847 2.542-4.265ZM6.225 9.281v.053H8.85V5.063h-.065c-.867 1.33-1.787 2.806-2.56 4.218Z"
/>
<path
d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2Zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2Z"
/>
</svg>
</div>
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-three-dots"
viewBox="0 0 16 16"
>
<path
d="M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"
/>
</svg>
</div>
<div id="endnum1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="currentColor"
class="bi bi-9-square"
viewBox="0 0 16 16"
>
<path
d="M7.777 12.146c-1.593 0-2.425-.89-2.52-1.798h1.296c.1.357.539.72 1.248.72 1.36 0 1.88-1.353 1.834-3.023h-.076c-.235.627-.873 1.184-1.934 1.184-1.395 0-2.566-.961-2.566-2.666 0-1.711 1.242-2.731 2.87-2.731 1.512 0 2.971.867 2.971 4.014 0 2.836-1.02 4.3-3.123 4.3Zm.118-3.972c.808 0 1.535-.528 1.535-1.594s-.668-1.676-1.56-1.676c-.838 0-1.517.616-1.517 1.659 0 1.072.708 1.61 1.54 1.61Z"
/>
<path
d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2Zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2Z"
/>
</svg>
</div>
</div>
<!-- Footer starts -->
<div id="footer"></div>
<!-- Footer Ends -->
</body>
</html>
<script src="./script/newArrival.js" type="module"></script>
<script src="./script/imgdata.js"></script>