-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.html
180 lines (164 loc) · 6.05 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
<!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>Product</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.15.4/css/all.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><a href="cart.html"><i class="far fa-shopping-bag"></i></a></li>
</ul>
</div>
</section>
<section id="product-desc" class="section-p1">
<div id="pro-img">
<img src="/img/products/f1.jpg" id="mainimg" alt="">
<div id="bot-imgs">
<img src="/img/products/f2.jpg" class="bot-img" alt="">
<img src="/img/products/f3.jpg" class="bot-img" alt="">
<img src="/img/products/f4.jpg" class="bot-img" alt="">
<img src="/img/products/f5.jpg" class="bot-img" alt="">
</div>
</div>
<div id="desc">
<h3>Men's Fashion T-Shirt</h3><br>
<h2>$139.00</h2>
<select>
<option>Select Size</option>
<option>XXL</option>
<option>XL</option>
<option>L</option>
<option>M</option>
<option>S</option>
</select><br>
<input type="number" class="qty"></button><button class="cart">Add to Cart</button><br>
<h3>Product Details</h3><br>
<p>The Gildan Ultra Cotton T-shirt is made from a susbstantial 6.0 oz. per sq. yd fabric constructed from 100% cotton, this classic fit preshrunk jersey knit provides unmatched comfort with each wear. Featuring a taped neck and shoulder, and a seamless double-needle collar, and available in a range of colors, it offers it all in the ultimate head-turning package.</p>
</div>
</section>
<section id="product1" class="section-p1">
<h2>Featured Products</h2>
<p>Summer Collection</p>
<a href="product.html">
<div class="pro-container">
<div class="pro">
<img src="/img/products/f1.jpg" alt="">
<div class="desc">
<span>adidas</span>
<h5>Cartoon Astronaut T-shirt</h5>
<div class="stars">
<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>$77</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart cart"></i></a>
</div>
</a>
<div class="pro">
<img src="/img/products/f2.jpg" alt="">
<div class="desc">
<span>adidas</span>
<h5>Cartoon Astronaut T-shirt</h5>
<div class="stars">
<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>$77</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart cart"></i></a>
</div><div class="pro">
<img src="/img/products/f3.jpg" alt="">
<div class="desc">
<span>adidas</span>
<h5>Cartoon Astronaut T-shirt</h5>
<div class="stars">
<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>$77</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart cart"></i></a>
</div><div class="pro">
<img src="/img/products/f4.jpg" alt="">
<div class="desc">
<span>adidas</span>
<h5>Cartoon Astronaut T-shirt</h5>
<div class="stars">
<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>$77</h4>
</div>
</div>
</section>
<section id="sign-up" class="section-p1 section-m1">
<div class="newslet">
<h3>Sign Up for Newsletters</h3>
<p>Get Email updates about our latest products and <span>special offers.</span></p>
</div>
<div class="form">
<input type="text" placeholder="Enter Your Email">
<button class="normal">Sign Up</button>
</div>
</section>
<section id="footer" class="section-p1">
<div class="infofoot">
<img src="/img/logo.png" alt="">
<h4>Contact</h4><br>
<p>Address: <span>abcd</span></p>
<p>Phone: <span>XXXXXXX</span></p><br>
<h4>Follow Us</h4>
</div>
<div class="footabout">
<h4>About</h4>
<a href="#"><p>About Us</p></a>
<a href="#"><p>Delivery Information</p></a>
<a href="#"><p>Privacy Policy</p></a>
<a href="#"><p>Terms & Conditions</p></a>
<a href="#"><p>Contact Us</p></a>
</div>
<div class="footaccount">
<h4>My Account</h4>
<a href="#"><p>Sign In</p></a>
<a href="#"><p>View Cart</p></a>
<a href="#"><p>My Wishlist</p></a>
<a href="#"><p>Track My Order</p></a>
<a href="#"><p>Help</p></a>
</div>
<div class="footinstall">
<h4>Install App</h4>
<p>From App or Google Play</p>
<a href="#"><img src="/img/pay/app.jpg" alt="" class="ins"></a>
<a href="#"><img src="/img/pay/play.jpg" alt="" class="ins"></a>
<p>Secured Payment Gateway</p>
<a href="#"><img src="/img/pay/pay.png" alt=""></a>
</div>
</section>
<script>
var Mainimg =document.getElementById('mainimg');
var Smallimg = document.getElementsByClassName('bot-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;
}
</script>
<script src="/script.js"></script>
</body>
</html>