-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.html
301 lines (284 loc) · 14.4 KB
/
product.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
<!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" />
<link rel="stylesheet" href="css/corosel.css">
<link rel="stylesheet" href="css/index.css" />
<!-- <link rel="stylesheet" href="css/accordian.css" /> -->
<link rel="stylesheet" href="css/hamburger.css" />
<link rel="stylesheet" href="css/footer.css" />
<link rel="stylesheet" href="css/product.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
/>
<title>PRODUCT</title>
</head>
<body>
<nav class="prinav">
<div class="left">
<a href="#">HOME</a>
<a href="#">PRODUCTS</a>
<a href="#">EDUCATION</a>
<a href="#">CONTACT US</a>
</div>
<div class="right">
<a href=""
><i
class="fa fa-phone"
style="position: absolute; margin-right: 25px; font-size: 14px"
aria-hidden="true"
></i></a
><a href="#"> 011454525687</a>
<a href="#">PRODUCTS</a>
<a href="#">SIGN-UP</a>
<a href="#">SIGN-IN</a>
</div>
</nav>
<!--THE SECOND TYPE OF NAV BAR BEGINS-->
<div class="secnav">
<div class="image">
<img src="IMG/logo.png" alt="logo" />
</div>
<div class="details">
<div class="hamburger-menu">
<input id="menu__toggle" type="checkbox" />
<label class="menu__btn" for="menu__toggle">
<span></span>
</label>
<ul class="menu__box">
<li><a class="menu__item" href="#">HOME</a></li>
<li><a class="menu__item" href="#">SIGN-UP</a></li>
<li><a class="menu__item" href="#">SIGN-IN</a></li>
<li><a class="menu__item" href="#">EDUCATION</a></li>
<li><a class="menu__item" href="#">PRODUCTS</a></li>
</ul>
</div>
<a class="secnav_item" href="#">STRINGS</a>
<a class="secnav_item" href="#">DRUMS</a>
<a class="secnav_item" href="#">FLUTES</a>
<div id="input-container">
<i class="fa-solid fa-magnifying-glass"></i>
<input
type="search"
id="#input-container"
class="searchbox secnav_item"
placeholder="search"
/>
</div>
</div>
</div>
<!--THIS INCLUDES THE MAIN BODY OF THE PRODUCT LISTINGS-->
<!-- <div class="main"> -->
<div class = "card-wrapper">
<div class = "card">
<!-- card left -->
<div class = "product-imgs">
<div class = "img-display">
<div class = "img-showcase">
<img src = "IMG/iimg/1.jpg" alt = "shoe image">
<img src = "IMG/iimg/3.jpg" alt = "shoe image">
<img src = "IMG/iimg/4.jpg" alt = "shoe image">
<img src = "IMG/iimg/5.jpg" alt = "shoe image">
</div>
</div>
<div class = "img-select">
<div class = "img-item">
<a href = "#" data-id = "1">
<img src = "IMG/iimg/1.jpg" alt = "shoe image">
</a>
</div>
<div class = "img-item">
<a href = "#" data-id = "2">
<img src = "IMG/iimg/3.jpg" alt = "shoe image">
</a>
</div>
<div class = "img-item">
<a href = "#" data-id = "3">
<img src = "IMG/iimg/4.jpg" alt = "shoe image">
</a>
</div>
<div class = "img-item">
<a href = "#" data-id = "4">
<img src = "IMG/iimg/5.jpg" alt = "shoe image">
</a>
</div>
</div>
</div>
<!-- card right -->
<div class = "product-content">
<h2 class = "product-title">tRUMPETS</h2>
<div class = "product-rating">
<i class = "fas fa-star"></i>
<i class = "fas fa-star"></i>
<i class = "fas fa-star"></i>
<i class = "fas fa-star"></i>
<i class = "fas fa-star-half-alt"></i> 4.5(1)
</div>
<div class = "product-price">
<p class = "last-price">Base Price: <span>$257.00</span></p>
<p class = "new-price">Discount Price: <span>$249.00 (5%)</span></p>
</div>
<div class = "product-detail">
<h2>Item Description: </h2>
<p>The trumpet plays high brassy notes. The trumpet is the highest sounding member of the brass family. The brilliant tone of the trumpet travels through about 6 - ½ feet of tubing bent into an oblong shape.</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur, perferendis eius. Dignissimos, labore suscipit. Unde.</p>
<ul>
<li><img src="IMG/chhh.png" alt=""> Color: Black</li>
<li><img src="IMG/chhh.png" alt="">Available:in stock</li>
<li><img src="IMG/chhh.png" alt="">Category: </li>
<li><img src="IMG/chhh.png" alt="">Shipping Area: </li>
<li><img src="IMG/chhh.png" alt="">Shipping Fee: </li>
</ul>
</div>
<div class = "purchase-info">
<input type = "number" min = "0" value = "1">
<button type = "button" class = "btn">
Add to Cart <i class = "fas fa-shopping-cart"></i>
</button>
<button type = "button" class = "btn">Buy Now</button>
</div>
</div>
</div>
</div>
</div>
<!-- </div> -->
<!--THE OTHER RELATED PRODUCTS WILL BE SHOWN GERE-->
<span class="h2"><h2>REVIEWS AND FEEDBACKS</h2></span>
<div class="othersecs">
<div class="reviews">
<div class="photo">
<img class="per1" src="IMG/7per.jpg" alt="">
</div>
<div class="texty">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto nesciunt accusantium veritatis reiciendis quo beatae, cum similique harum incidunt saepe, ipsum non ducimus aliquid libero, neque reprehenderit fuga a earum perferendis nemo quisquam! Tempore eos voluptatem recusandae porro, reprehenderit tempora, similique saepe odio laborum officiis nesciunt suscipit at dolorem soluta praesentium aspernatur deserunt maxime sit nulla accusamus iste ratione libero quo totam. Provident beatae enim quod doloremque nisi officia, quam in eaque, magni accusantium eius rem reprehenderit labore consequatur cumque ratione excepturi atque. Molestias, minima? Natus eum dolores, alias adipisci neque voluptatibus molestiae maiores dolorem dignissimos ullam? Omnis, corporis repellendus.</p>
</div>
</div>
<div class="reviews">
<div class="photo">
<img class="per2" src="IMG/5per.png" alt="">
</div>
<div class="texty">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto nesciunt accusantium veritatis reiciendis quo beatae, cum similique harum incidunt saepe, ipsum non ducimus aliquid libero, neque reprehenderit fuga a earum perferendis nemo quisquam! Tempore eos voluptatem recusandae porro, reprehenderit tempora, similique saepe odio laborum officiis nesciunt suscipit at dolorem soluta praesentium aspernatur deserunt maxime sit nulla accusamus iste ratione libero quo totam. Provident beatae enim quod doloremque nisi officia, quam in eaque, magni accusantium eius rem reprehenderit labore consequatur cumque ratione excepturi atque. Molestias, minima? Natus eum dolores, alias adipisci neque voluptatibus molestiae maiores dolorem dignissimos ullam? Omnis, corporis repellendus.</p>
</div>
</div>
<div class="reviews">
<div class="photo">
<img class="per3" src="IMG/4per.jfif" alt="">
</div>
<div class="texty">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto nesciunt accusantium veritatis reiciendis quo beatae, cum similique harum incidunt saepe, ipsum non ducimus aliquid libero, neque reprehenderit fuga a earum perferendis nemo quisquam! Tempore eos voluptatem recusandae porro, reprehenderit tempora, similique saepe odio laborum officiis nesciunt suscipit at dolorem soluta praesentium aspernatur deserunt maxime sit nulla accusamus iste ratione libero quo totam. Provident beatae enim quod doloremque nisi officia, quam in eaque, magni accusantium eius rem reprehenderit labore consequatur cumque ratione excepturi atque. Molestias, minima? Natus eum dolores, alias adipisci neque voluptatibus molestiae maiores dolorem dignissimos ullam? Omnis, corporis repellendus.</p>
</div>
</div>
<div class="reviews">
<div class="photo">
<img class="per4" src="IMG/6per.jpg" alt="">
</div>
<div class="texty">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto nesciunt accusantium veritatis reiciendis quo beatae, cum similique harum incidunt saepe, ipsum non ducimus aliquid libero, neque reprehenderit fuga a earum perferendis nemo quisquam! Tempore eos voluptatem recusandae porro, reprehenderit tempora, similique saepe odio laborum officiis nesciunt suscipit at dolorem soluta praesentium aspernatur deserunt maxime sit nulla accusamus iste ratione libero quo totam. Provident beatae enim quod doloremque nisi officia, quam in eaque, magni accusantium eius rem reprehenderit labore consequatur cumque ratione excepturi atque. Molestias, minima? Natus eum dolores, alias adipisci neque voluptatibus molestiae maiores dolorem dignissimos ullam? Omnis, corporis repellendus.</p>
</div>
</div>
<div class="reviews">
<div class="photo">
<img class="per5" src="IMG/1per.jpg" alt="">
</div>
<div class="texty">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto nesciunt accusantium veritatis reiciendis quo beatae, cum similique harum incidunt saepe, ipsum non ducimus aliquid libero, neque reprehenderit fuga a earum perferendis nemo quisquam! Tempore eos voluptatem recusandae porro, reprehenderit tempora, similique saepe odio laborum officiis nesciunt suscipit at dolorem soluta praesentium aspernatur deserunt maxime sit nulla accusamus iste ratione libero quo totam. Provident beatae enim quod doloremque nisi officia, quam in eaque, magni accusantium eius rem reprehenderit labore consequatur cumque ratione excepturi atque. Molestias, minima? Natus eum dolores, alias adipisci neque voluptatibus molestiae maiores dolorem dignissimos ullam? Omnis, corporis repellendus.</p>
</div>
</div>
</div>
<!--THE FOOTER BEGINS HERE-->
<footer style="width: 100%">
<div class="footer">
<div class="inner-footer">
<!-- for company name and description -->
<div class="footer-items">
<img src="" alt="" />
<h1>WEENA NAADHA</h1>
<p>THE ONE AND ONLY PLACE FOR YOU MUSICAL NEEDS</p>
</div>
<!-- for quick links -->
<div class="footer-items">
<h3>USEFUL Links</h3>
<div class="border1"></div>
<!--for the underline -->
<ul>
<a href="#"><li>Home</li></a>
<a href="#"><li>Search</li></a>
<a href="#"><li>Contact</li></a>
<a href="#"><li>About</li></a>
</ul>
</div>
<!-- for some other links -->
<div class="footer-items">
<h3>Categories</h3>
<div class="border1"></div>
<!--for the underline -->
<ul>
<a href="#"><li>Drums</li></a>
<a href="#"><li>Flutes</li></a>
<a href="#"><li>Strings</li></a>
<a href="#"><li>Columns</li></a>
</ul>
</div>
<!-- for contact us info -->
<div class="footer-items">
<h3>Contact us</h3>
<div class="border1"></div>
<ul>
<li>
<i class="fa fa-map-marker" aria-hidden="true"></i>Find Us Here
</li>
<li>
<i class="fa fa-phone" aria-hidden="true"></i>011454525687
</li>
<li>
<i class="fa fa-envelope" aria-hidden="true"></i>[email protected]
</li>
</ul>
<!-- for social links -->
<div class="social-media">
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-google-plus-square"></i></a>
</div>
</div>
</div>
<!-- Footer Bottom start -->
<div class="footer-bottom">
<span>
WE ACCEPT<i class="fa-brands fa-cc-visa"></i
><i class="fa-brands fa-cc-mastercard"></i
><i class="fa-solid fa-building-columns"></i
><i class="fa-solid fa-money-bill"></i
></span>
<div class="email">
<label for="">ENTER E-MAIL</label>
<!-- <i class="fa-solid fa-magnifying-glass"></i> -->
<input class="intouch" type="text" placeholder="Get In Touch" />
</div>
</div>
</div>
</footer>
<!--THE SCRIPT TAG FOR THE IMAGE SLIDERS AND MORE ON-->
<script >
const imgs = document.querySelectorAll('.img-select a');
const imgBtns = [...imgs];
let imgId = 1;
imgBtns.forEach((imgItem) => {
imgItem.addEventListener('click', (event) => {
event.preventDefault();
imgId = imgItem.dataset.id;
slideImage();
});
});
function slideImage(){
const displayWidth = document.querySelector('.img-showcase img:first-child').clientWidth;
document.querySelector('.img-showcase').style.transform = `translateX(${- (imgId - 1) * displayWidth}px)`;
}
window.addEventListener('resize', slideImage);
</script>
</body>
</html>