-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsproduct11.html
222 lines (203 loc) · 7.96 KB
/
sproduct11.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
<!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>Ecommerce</title>
<script src="https://kit.fontawesome.com/cb06905f78.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section id="header">
<!-- <a href="#"><img src="/img/logo.png" class="logo" alt=""></a> -->
<div>
<ul id="navbar">
<li><a href="index.html">Home</a></li>
<li><a class="active" href="shop.html">Shop</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li id="lg-bag"><a href="cart.html"><i class="fa-solid fa-bag-shopping"></i></a></li>
<a href="#" id="close"><i class="far fa-times"></i></a>
</ul>
</div>
<div id="mobile">
<a href="cart.html"><i class="fa-solid fa-bag-shopping"></i></a>
<i id="bar" class="fas fa-outdent"></i>
</div>
</section>
<section id="prodetails" class="section-p1">
<div class="single-pro-image">
<img src="img/products/rhudejeans.webp" width="100%" id="MainImg" alt="">
<!-- Main img -->
<div class="small-img-group">
<div class="small-img-col">
<img src="img/products/rhudeblackjeans.webp" width="100%" class="small-img" alt="">
<!-- sub / small img -->
</div>
</div>
</div>
<div class="single-pro-details">
<h6>Shop</h6>
<h4> Rhude Jeans </h4>
<h2>$995</h2>
<select>
<option>Select Size</option>
<option>XL</option>
<option>XXL</option>
<option>L</option>
<option>Medium</option>
<option>Small</option>
</select>
<input type="number" value="1">
<button>Add To Cart</button>
<h4>Product Details</h4>
<span>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem rem esse sint nisi eaque nobis voluptates perspiciatis ratione unde facilis veritatis, iste est sequi earum voluptatem neque ex. Praesentium, ab?</span>
</div>
</section>
<section id="product1" class="section-p1">
<h2>Featured Products</h2>
<p>Summer Collection New Modern Design</p>
<div class="pro-container">
<div class="pro">
<img src="img/products/polo.webp" alt="">
<div class="des">
<span></span>
<h5></h5>
<div class="star">
<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"></i>
</div>
<h4>$78</h4>
<a href="#"><i class="fa-solid fa-cart-shopping cart"></i></i></a>
</div>
</div>
<div class="pro">
<img src="img/products/coogie.webp" alt="">
<div class="des">
<span></span>
<h5></h5>
<div class="star">
<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"></i>
</div>
<h4>$78</h4>
<a href="#"><i class="fa-solid fa-cart-shopping cart"></i></i></a>
</div>
</div>
<div class="pro">
<img src="img/products/stoneisland.jpeg" alt="">
<div class="des">
<span></span>
<h5></h5>
<div class="star">
<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"></i>
</div>
<h4>$78</h4>
<a href="#"><i class="fa-solid fa-cart-shopping cart"></i></i></a>
</div>
</div>
<div class="pro">
<img src="img/products/evisu.webp" alt="">
<div class="des">
<span></span>
<h5></h5>
<div class="star">
<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"></i>
</div>
<h4>$78</h4>
<a href="#"><i class="fa-solid fa-cart-shopping cart"></i></i></a>
</div>
</div>
</div>
</section>
<section id="newsletter" class="section-p1 section-m1">
<div class="newstext">
<h4>Sign up for newsletter</h4>
<p>Get email updates about our latest shop and <span>special offers</span></p>
</div>
<div class="form">
<input type="text" placeholder="Your email address">
<button class="normal">Sign up</button>
</div>
</section>
<footer class="section-p1">
<div class="col">
<img class="logo" src="" alt="">
<h4>Contact</h4>
<p><strong>Address:</strong> 444 Malcolm X Blvd</p>
<p><strong>Phone:</strong> 281-330-8004</p>
<p><strong>Hours:</strong> 10-6, Mon-Friday</p>
<div class="follow">
<h4>follow</h4>
<div class="icon">
<i class="fab fa-facebook-f"></i>
<i class="fab fa-twitter"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-pinterest"></i>
<i class="fab fa-youtube"></i>
</div>
</div>
</div>
<div class="col">
<h4>about</h4>
<a href="#">About Us</a>
<a href="#">Delivery Information</a>
<a href="#">Privacy Notice</a>
<a href="#">Terms and Conditions</a>
<a href="#">Contact Us</a>
</div>
<div class="col">
<h4>My Account</h4>
<a href="#">Sign In</a>
<a href="#">View Cart</a>
<a href="#">My wishlist</a>
<a href="#">Track my order</a>
<a href="#">Help</a>
</div>
<div class="col install">
<h4>Install App</h4>
<p>From App Store or Google play</p>
<div class="row">
<img src="img/pay/app.jpg" alt="">
<img src="img/pay/play.jpg" alt="">
</div>
<p>Secured Payment Gateways</p>
<img src="img/pay/pay.png" alt="">
</div>
</footer>
<script>
var MainImg = document.getElementById("MainImg");
var smallimg = document.getElementsByClassName("small-img");
smallimg[0].onclick = function(){
MainImg.src = smallimg[0].src;
}
smallimg[1].onclick = function(){
MainImg.src = smallimg[1].src;
}
smallimg[2].onclick = function(){
MainImg.src = smallimg[2].src;
}
smallimg[3].onclick = function(){
MainImg.src = smallimg[3].src;
}
// When the small img is clicked, it takes over the role of the main img src file.
</script>
<script src="script.js"></script>
</body>
</html>