-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlivingRoom.html
312 lines (301 loc) · 12.4 KB
/
livingRoom.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
<!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>Living Room</title>
<link rel="stylesheet" href="/styles/livingRoom.css">
<link rel="stylesheet" href="./styles/index.css" />
<link rel="stylesheet" href="./styles/navbar.css">
<link
rel="icon"
href="./images/0_overstock.com_logo-thumb.jpg"
sizes="16x16"
type="image/png"
/>
</head>
<body>
<div id="navbar"></div>
<h1 id="heading">Living Room Furniture</h1>
<div id="different-Section">
<div id="sofas">
<ul>
<li>Sofas & Couches</li>
<li>Sectional Sofas</li>
<li>Coffee, Sofa & End Tables</li>
<li>Accent Chairs</li>
<li>Living Room Sets</li>
<li>Tv Stands</li>
<li>Shop All Living Room Furniture on Sale</li>
</ul>
</div>
<div id="livingRoomImg">
<div class="livingTxt">Extra 15% Off SELECT LIVING ROOM FURNITURE*
<button>SHOP NOW</button>
</div>
<img src="https://ak1.ostkcdn.com/img/mxc/12202021_2022Winter_LRFurn_AMOD.jpg" id="roomImg1">
</div>
</div>
<p class="txtMed">Shop By Category</p>
<div id="main"></div>
<p class="txtMed">Top Trending</p>
<div id="main1"></div>
<p class="txtMed">Shop Our Style</p>
<div id="main2"></div>
<div id="sorting">
<p>Sort by : </p>
<select id="priceSort">
<option value="s"> Sorting</option>
<option value="s"> Best Selling</option>
<option value="high">Price - High to Low</option>
<option value="low">Price - Low to High</option>
<option value="s">On Sale</option>
<option value="rel">Relevance</option>
</select>
</div>
<div id="prod">
<div id="filter">
<div class="dropdown">
<div id="display">
<button id="myFunction" class="dropbtn">Categories</button>
<div id="myDropdown" class="dropdown-content">
<p>Coffee, Console, Sofa & End Tables (15,587)</p>
<p>Living Room Chairs (4,494)</p>
<p>TV Stands & Entertainment Centers (4,070)</p>
<p>Ottomans & Storage Ottomans(3,111)</p>
<p>Bookshelves & Bookcases(3,008)</p>
<p>Benches & Settees(2,754)</p>
<p>Sofas & Couches(2,319)</p>
<p>Recliner Chairs & Rocking Recliners(563)</p>
<p>Loveseats(421)</p>
<p>Futons(406)</p>
<p>Sectional Sofas(268)</p>
<p>Bean Bag Chairs(266)</p>
<p>Living Room Furniture Sets(137)</p>
</div>
</div>
<div id="display">
<button id="myFunction1" class="dropbtn">
Sales & Promotions
</button>
<div id="myDropdown1" class="dropdown-content1">
<p>Clearance(292)</p>
<p>New Products(2,547</p>
<p>On Sale(11,239)</p>
<p>Top Rated(9,579)</p>
<p>Best Selling(139)</p>
</div>
</div>
<div id="display">
<button id="myFunction2" class="dropbtn">Price</button>
<div id="myDropdown2" class="dropdown-content2">
<p>Under INR 12830 (6,303)</p>
<p>INR 12830 - INR 21384 (8,335)</p>
<p>INR 21384 - INR 34214 (10,069)</p>
<p>INR 34214 - INR 68429 (9,938)</p>
<p>INR 68429+ (2,508)</p>
</div>
</div>
<div id="display">
<button id="myFunction3" class="dropbtn">Styles</button>
<div id="myDropdown3" class="dropdown-content3">
<p>Modern & Contemporary(21,194)</p>
<p>Traditional (2,019)</p>
<p>Mide-Century Modern (2,759)</p>
<p>Farmhouse (1,420)</p>
<p>Rustic (2,106)</p>
<p>Nautical & Coastal (265)</p>
<p>French Country (173)</p>
<p>Casual (1,287)</p>
<p>Shabby Chic (285)</p>
<p>Industrial (2,088)</p>
<p>Glam (1,353)</p>
<p>Transitional (3,872)</p>
<p>Bohemian & Eclectic (579)</p>
<p>Country (221)</p>
</div>
</div>
<div id="display">
<button id="myFunction4" class="dropbtn">Colors</button>
<div id="myDropdown4" class="dropdown-content4">
<p>Grey (7,990)</p>
<p>Tan (490)</p>
<p>Black (7,100)</p>
<p>Red (841)</p>
<p>White (5,980)</p>
<p>Silver (1,107)</p>
<p>Blue (4,115)</p>
<p>Brown (10,362)</p>
<p>Gold (1,803)</p>
<p>Beige (1,975)</p>
<p>Yellow (856)</p>
<p>Green (1,833)</p>
<p>Orange (377)</p>
<p>Pink (1,139)</p>
<p>Purple (316)</p>
</div>
</div>
<div id="display">
<button id="myFunction5" class="dropbtn">Brands</button>
<div id="myDropdown5" class="dropdown-content5">
<p>Copper Grove (505)</p>
<p>The Gray Barn (179)</p>
<p>Porch & Den (387)</p>
<p>Carbon Loft (388)</p>
<p>Furniture of America (806)</p>
<p>Silver Orchid (327)</p>
<p>Safavieh (776)</p>
<p>Simple Living (70)</p>
<p>Adeco (290)</p>
<p>Studio (282)</p>
<p>Benzara (213)</p>
<p>Nestfair (204)</p>
<p>Somette ()<174/p>
</div>
</div>
<div id="display">
<button id="myFunction6" class="dropbtn">Materials</button>
<div id="myDropdown6" class="dropdown-content6">
<p>Leather (535)</p>
<p>Fabric (3,187)</p>
<p>Faux Leather (923)</p>
<p>Microfiber (97)</p>
<p>Wood (14,930)</p>
<p>Linen (831)</p>
<p>Velvet (2,032)</p>
<p>Metal (5,268)</p>
<p>Glass (1,911)</p>
<p>Polyester (1,531)</p>
<p>Iron (1,163)</p>
<p>Steel (811)</p>
<p>Cotton (452)</p>
<p>Bamboo (135)</p>
<p>Plastic (134)</p>
<p>Oak (127)</p>
</div>
</div>
<div id="display">
<button id="myFunction7" class="dropbtn">Product Features</button>
<div id="myDropdown7" class="dropdown-content7">
<p>Handmade (2,143)</p>
<p>Swivel (157)</p>
<p>Storage (4,052)</p>
<p>Shelf (2,943)</p>
<p>Drawers (2,724)</p>
<p>Solid Wood (2,060)</p>
<p>Tufted (889)</p>
<p>Nailheads (615)</p>
<p>Chaise (351)</p>
<p>Nesting (331)</p>
<p>Tray Top (262)</p>
<p>Doors (192)</p>
<p>Casters (176)</p>
<p>Glass Doors (178)</p>
</div>
</div>
<div id="display">
<button id="myFunction8" class="dropbtn">Assembly</button>
<div id="myDropdown8" class="dropdown-content8">
<p>Assembled (5,909)</p>
</div>
</div>
<div id="display">
<button id="myFunction9" class="dropbtn">Sizes</button>
<div id="myDropdown9" class="dropdown-content9">
<p>Medium (1,493)</p>
<p>Small (681)</p>
<p>Large (675)</p>
<p>Standard (524)</p>
<p>Full (225)</p>
<p>Queen (106)</p>
<p>Twin (81)</p>
<p>Extra Large (17)</p>
<p>Jumbo (4)</p>
<p>King (4)</p>
</div>
</div>
<div id="display">
<button id="myFunction10" class="dropbtn">Finishes</button>
<div id="myDropdown10" class="dropdown-content10">
<p>Metal Finish (1,721)</p>
<p>Natural Finish (1,696)</p>
<p>Antique (1,278)</p>
<p>Painted (1,265)</p>
<p>Distressed (1,087)</p>
<p>Walnut Finish (963)</p>
<p>Espresso Finish (665)</p>
<p>Oak Finish (579)</p>
<p>Chrome Finish (396)</p>
<p>Lacquer (327)</p>
<p>Cherry Finish (258)</p>
<p>Brass Finish (213)</p>
<p>Bronze Finish (198)</p>
<p>Weathered (142)</p>
<p>Pine Finish (108)</p>
<p>Cappuccino Finish (101)</p>
<p>Chestnut Finish (88)</p>
<p>Ash Finish (85)</p>
<p>Mahogany Finish (64)</p>
<p>Nickel Finish (55)</p>
<p>Copper Finish (31)</p>
<p>Plated (25)</p>
</div>
</div>
<div id="display">
<button id="myFunction11" class="dropbtn">Prints</button>
<div id="myDropdown11" class="dropdown-content11">
<p>Solid (9,198)</p>
<p>Pattern (2,344)</p>
</div>
</div>
<div id="display">
<button id="myFunction12" class="dropbtn">Fits Most Tvs</button>
<div id="myDropdown12" class="dropdown-content12">
<p>43 to 60 in (2,050)</p>
<p>61 in & Up (1,175)</p>
<p>32 to 42 in (322)</p>
<p>Up to 31 in (84)</p>
</div>
</div>
<div id="display">
<button id="myFunction13" class="dropbtn">Customer Rating</button>
<div id="myDropdown13" class="dropdown-content13">
<p>⭐ ⭐ ⭐ ⭐ ✰</p>
<p>⭐ ⭐ ⭐ ✰ ✰</p>
<p>⭐ ⭐ ✰ ✰ ✰</p>
<p>⭐ ✰ ✰ ✰ ✰</p>
</div>
</div>
<div id="display">
<button id="myFunction14" class="dropbtn">Availability</button>
<div id="myDropdown14" class="dropdown-content14">
<p>Include Out of Stock</p>
</div>
</div>
</div>
</div>
<div id="prod-list">
</div>
</div>
<div id="footer"></div>
<div id="end"></div>
</body>
</html>
<script type="module" src="/scripts/livingRoom.js"></script>
<script type="module">
import { footer, end } from "./components/footer.js";
import navbar from './components/navbar.js'
let navbar_div = document.getElementById("navbar");
navbar_div.innerHTML = navbar();
let sectionDiv = document.querySelector(".section-div > div");
sectionDiv.addEventListener("mouseover", function () {
let dropDownContainer = document.querySelector(".dropdown-content-part");
dropDownContainer.style.display = "flex";
dropDownContainer.addEventListener("mouseout", function () {
dropDownContainer.style.display = "none";
});
});
document.querySelector("#footer").innerHTML = footer();
document.querySelector("#end").innerHTML = end();
</script>