forked from Sanjeev-Puri/RedStore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product details.html
190 lines (179 loc) · 6.98 KB
/
product details.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="vewport" content="width=device-width, initial-scale=1.0">
<title>Single Products - Red Store</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="container">
<div class="navbar">
<div class="logo">
<img src="images/logo.png" width="125px">
</div>
<nav>
<ul id="MenuItems">
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
<li><a href="account.html">Account</a></li>
</ul>
</nav>
<img src="images/cart.png" width="30px" height="30px">
<img src="images/menu.png" class="menu-icon" onclick="menutoggle()">
</div>
</div>
<!-------single product details------>
<div class="small-container single-product">
<div class="row">
<div class="col-2">
<img src="images/gallery-1.jpg" width="100%" id="ProductImg">
<div class="small-img-row">
<div class="small-img-col">
<img src="images/gallery-1.jpg" width="100%" class="small-img">
</div>
<div class="small-img-col">
<img src="images/gallery-2.jpg" width="100%" class="small-img">
</div>
<div class="small-img-col">
<img src="images/gallery-3.jpg" width="100%" class="small-img">
</div>
<div class="small-img-col">
<img src="images/gallery-4.jpg" width="100%" class="small-img">
</div>
</div>
</div>
<div class="col-2">
<p>Home / T-Shirt</p>
<h1>Red Printed T-Shirt by HRX</h1>
<h4>$50.00</h4>
<select>
<option>Select Size</option>
<option>S</option>
<option>M</option>
<option>L</option>
<option>XL</option>
<option>XXL</option>
</select>
<input type="number" value="1">
<a href="" class="btn">Add To Cart</a>
<h3>Product Details <i class="fa fa-indent"></i></h3>
<br>
<p>Give your summer wardrobe a style upgrade with the HRX Men's Active T-Shirt. Team it with a pair of shorts for your morning workout or a denims for an evening out with the guys.</p>
</div>
</div>
</div>
<!-------title------>
<div class="small-container">
<div class="row row-2">
<h2>Realated Products</h2>
<p>View More</p>
</div>
</div>
<!-------products------>
<div class="small-container">
<div class="row">
<div class="col-4">
<img src="images/product-2.jpg">
<h4>Black Shoes</h4>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
</div>
<p>$50.00</p>
</div>
<div class="col-4">
<img src="images/product-3.jpg">
<h4>Black Lower</h4>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-o"></i>
</div>
<p>$130.00</p>
</div>
<!-------footer------>
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col-1">
<h3>Download Our App</h3>
<p>Download App for Android and IOS mobile phone.</p>
<div class="app logo">
<img src="images/play-store.png">
<img src="images/app-store.png">
</div>
</div>
<div class="footer-col-2">
<img src="images/logo-white.png">
<p>Our purpose is to provide you the valuable products in exchange of your money</p>
<div class="footer-col-3">
<h3>Useful Links</h3>
<ul>
<li>Coupons</li>
<li>Blog Post</li>
<li>Return Policy</li>
<li>Join Affiliate</li>
</ul>
</div>
<div class="footer-col-4">
<h3>Follow Us</h3>
<ul>
<li>Facebook</li>
<li>Instagram</li>
<li>Youtube</li>
<li>Whatsapp</li>
</ul>
</div>
</div>
<hr>
<p class="Copyright">Copyright 2023 - Redstore</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
}
</script>
</body>
</html>