-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsproduct.html
202 lines (200 loc) · 7.59 KB
/
sproduct.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>E-commerce website</title>
<link rel="stylesheet" href="style.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
</head>
<body>
<script src="script.js"></script>
<section id="header">
<a href="#"><img src="images/logo.png" class="logo" alt=""></a>
<div>
<ul id="navbar">
<li> <a class="active" href="index.html">Home</a></li>
<li> <a href="contact.html">Contact</a></li>
<li> <a href="blog.html">Blog</a></li>
<li> <a href="shop.html">Shop</a></li>
<li> <a href="about.html">About</a></li>
<li id="ig-bag"> <a href="cart.html"><i class="fa fa-shopping-basket"></i></a></li>
<a href="#" id="close"><i class="far fa-times"></a></i>
</ul>
</div>
<div id="mobile">
<a href="cart.html"><i class="fa fa-shopping-basket"></i></a>
<i id="bar" class="fas fa-outdent"></i>
</div>
</section>
<section id="prodetails" class="section-m2">
<div class="products">
<div class="single-pro-images">
<img src="images/Computers.png" width="100%" id="mainImg" alt="">
<div class="small-img-group">
<div class="small-img-col">
<img src="images/latitude.jpg" width="100px" class="small-img" alt="">
</div>
<div class="small-img-col">
<img src="images/win.jpg" width="100px" class="small-img" alt="">
</div>
<div class="small-img-col">
<img src="images/chrome.jpg" width="100px" class="small-img" alt="">
</div>
<div class="small-img-col">
<img src="images/elite.jpg" width="100px" class="small-img" alt="">
</div>
</div>
<div class="single-pro-details">
<h6>Home / computers</h6>
<h4>Best selling Laptops</h4>
<h2>$200.00</h2>
<select>
<option>select ram</option>
<option>4GB</option>
<option>8GB</option>
<option>16GB</option>
<option>32GB</option>
<option>64GB</option>
</select>
<input type="number" value="1">
<button class="normal">Add to cart</button>
<h4>Product details</h4>
<span>This is the best laptops you will ever see add to cart now and get our best coputers product @computervillage.ng </span>
</div>
</div>
</section>
<section id="product1" class="section-p1">
<h2>New Arrivals</h2>
<p>Best seller products</p>
<div class="pro-container">
<div class="pro">
<img src="images/Gaming.png" alt="center">
<div class="des">
<span>Gaming</span>
<h5>PES 5</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>$80</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart"></i></a>
</div>
<div class="pro">
<img src="images/cctv.png" alt="center">
<div class="des">
<span>Electronics</span>
<h5>cctv</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>$250</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart"></i></a>
</div>
<div class="pro">
<img src="images/hard.png" alt="center">
<div class="des">
<span>Hardware & Accessories</span>
<h5>headsets</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>$180</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart"></i></a>
</div>
<div class="pro">
<img src="images/IOT.png" alt="center">
<div class="des">
<span>Smart Gadgets</span>
<h5>IOT</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>$215</h4>
</div>
<a href="#"><i class="fal fa-shopping-cart"></i></a>
</div>
</div>
<a href="#"><i class="fal fa-shopping-cart"></i></a>
</div>
</div>
</section>
<section id="more" class="section-m2">
<div class="about-box">
<h2>About us</h2>
<p>Computervillage.Ng online marketplace is the number one online technology device marketplace in sub-saharan Africa. A central hub to shop for IT products and electronic gadgets from thousands of vendors.</p>
<button>Read more</button>
</div>
<div class="col-1">
<h4>About</h4>
<a href="#">About us</a>
<a href="#">Delivery Information</a>
<a href="#">Privacy Policy</a>
<a href="#">Terms & conditions</a>
<a href="#">Contact us</a>
</div>
<div class="col-2">
<h4>My Account</h4>
<a href="#">Sign in</a>
<a href="#">View cart</a>
<a href="#">My wishlists</a>
<a href="#">Track my order</a>
<a href="#">Help</a>
</div>
<div class="con-detail">
<h4>Contact details</h4>
<p>29/31, Obafemi Awolowo way, Awolowo Glasshouse, Ikeja, Lagos
(+234) -081-4000-0567
</div>
</div>
</section>
<section id="overall" class="section-3">
<footer>
<div class="lasty">
<h4>© 2024 Computer Village Technology Marketplace. All Rights Reserved. Designed and Managed by <span>Mr_simze</span> Consultants Limited</h4>
</div>
</footer>
</section>
<script>
var mainImg= document.getElementById('mainImg')
var smallimg= document.getElementsByClassName('small-img')
smallimg[0].onclick = function(){
mainImg.src= smallimg[0].src;
}
var mainImg= document.getElementById('mainImg')
var smallimg= document.getElementsByClassName('small-img')
smallimg[1].onclick = function(){
mainImg.src= smallimg[1].src;
}
var mainImg= document.getElementById('mainImg')
var smallimg= document.getElementsByClassName('small-img')
smallimg[2].onclick = function(){
mainImg.src= smallimg[2].src;
}
var mainImg= document.getElementById('mainImg')
var smallimg= document.getElementsByClassName('small-img')
smallimg[3].onclick = function(){
mainImg.src= smallimg[3].src;
}
</script>
</html>
</body>