-
Notifications
You must be signed in to change notification settings - Fork 12
/
macBookProduct.html
239 lines (224 loc) · 7.97 KB
/
macBookProduct.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=dvice-width, initial-scale=1.0" />
<title>All Products | Nitin FashionWear</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"
integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="header">
<div class="container">
<div class="navbar">
<div class="logo">
<img src="img/Screenshot (18).png" alt="logo image" width="125px" />
</div>
<nav>
<ul id="MenuItems">
<li><a href="index.html">Home</a></li>
<li><a href="product.html">Product</a></li>
<li><a href="about.html">About</a></li>
<li><a href="account.html">Contact</a></li>
</ul>
</nav>
<a href="Cart.html">
<img src="img/shop.png" width="30px" height="30px" alt=""
/></a>
<img src="img/menu.png" class="menu-icon" onclick="menutoggle()" />
</div>
</div>
</div>
<!-- ---------------- Single product details -------------------- -->
<div class="small-container single-product">
<div class="row">
<div class="col-2">
<img src="img/mac.png" width="100%" id="ProductImg" />
<div class="small-img-row">
<div class="small-img-col">
<img class="small-img" src="img/mac.png" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="img/mac-2.jpg" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="img/mac-3.jpg" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="img/mac-4.jpg" width="100%" />
</div>
<div class="small-img-col">
<img class="small-img" src="img/mac-5.jpg" width="100%" />
</div>
</div>
</div>
<div class="col-2">
<p>MacBook Pro</p>
<h1 id="product_name">Apple 2023 MacBook Pro Laptop with M2 chip</h1>
<h4 id="prod_price">₹150,000.</h4>
<select>
<option value="">Select Color</option>
<option value="">Grey</option>
<option value="">Silver</option>
</select>
<input type="number" value="1" />
<a href="" class="btn add_crt_btn">Add to Cart</a>
<h3>Product Details <i class="fa fa-indent"> </i></h3>
<br />
<p>
The MacBook 2023 is a powerful laptop that features M2 chip for fast
performance and improved energy efficiency. It has a 13.3-inch
Retina display with True Tone technology, providing accurate color
reproduction. The MacBook 2021 also includes Thunderbolt/USB 4 ports
for fast data transfer and charging, and runs on macOS Big Sur for a
seamless user experience.
</p>
</div>
</div>
</div>
<!-- ----------------- Title --------------------- -->
<div class="small-container">
<div class="row row-2">
<h2>Related Products</h2>
<p>View More</p>
</div>
</div>
<!-- -------------- Featured Product ------------ -->
<div class="small-container">
<div class="row">
<div class="col-4">
<img src="img/related2.jpg" alt="" />
<h4>4 Combo Shirt</h4>
<div class="rating">
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
</div>
<p>₹780</p>
</div>
<div class="col-4">
<img src="img/releated1.jpg" alt="" />
<h4>Three Print Shirt</h4>
<div class="rating">
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star-half-stroke"></i>
</div>
<p>₹2340</p>
</div>
<div class="col-4">
<img src="img/related4.jpg" alt="" />
<h4>Men style Shirt</h4>
<div class="rating">
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-regular fa-star"></i>
</div>
<p>₹1000</p>
</div>
<div class="col-4">
<img src="img/related5.jpg" alt="" style="padding: 1rem 0 3.7rem 0" />
<h4>Trouser</h4>
<div class="rating">
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-solid fa-star"></i>
<i class="fa fa-regular fa-star"></i>
</div>
<p>₹600</p>
</div>
</div>
</div>
<!-- ---------------Footer -------------- -->
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col-1">
<h3>Download Our App</h3>
<p>Download the App for Android and ISO Mobile phone</p>
<div class="app-logo">
<img src="img/playstore (1).png" alt="" />
<img src="img/istore (1).png" alt="" />
</div>
</div>
<div class="footer-col-2">
<img src="img/Screenshot (18).png" alt="" />
<p>Everything you need at one place Order Now</p>
</div>
<div class="footer-col-3">
<h3>UseFul Links</h3>
<ul>
<li>Coupons</li>
<li>Blog Post</li>
<li>Return Policy</li>
<li>Job Affiliate</li>
</ul>
</div>
<div class="footer-col-4">
<h3>Follow us</h3>
<ul>
<li>Facebook</li>
<li>Twitter</li>
<li>Instagram</li>
<li>Job Affiliate</li>
</ul>
</div>
</div>
<hr />
<p class="copyright">Copyright 2022 - Nitin Pandita</p>
</div>
</div>
<!-- ----------- js for toggle menu--------- -->
<script>
var MenuItems = document.getElementById("MenuItems");
MenuItems.style.maxHeight = "0px";
function menutoggle() {
if (MenuItems.style.maxHeight == "0px") {
MenuItems.style.maxHeight = "200px";
} else {
MenuItems.style.maxHeight = "0px";
}
}
</script>
<!-- ------------------- Js for product gallery -->
<script>
var ProductImg = document.getElementById("ProductImg");
var SmallImg = document.getElementsByClassName("small-img");
SmallImg[0].onclick = function () {
ProductImg.src = SmallImg[0].src;
};
SmallImg[1].onclick = function () {
ProductImg.src = SmallImg[1].src;
};
SmallImg[2].onclick = function () {
ProductImg.src = SmallImg[2].src;
};
SmallImg[3].onclick = function () {
ProductImg.src = SmallImg[3].src;
};
SmallImg[4].onclick = function () {
ProductImg.src = SmallImg[4].src;
};
</script>
<script src="index.js"></script>
</body>
</html>