-
Notifications
You must be signed in to change notification settings - Fork 0
/
sproduct12.html
174 lines (157 loc) · 6.83 KB
/
sproduct12.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>E-Commerce Website</title>
<!-- LINK CSS -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="shop.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=League+Spartan:[email protected]&family=Quicksand:[email protected]&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
</head>
<body>
<header>
<a href="#"><img src="img/logoAngel.png" class="logo" alt="Angel-Shop" width="100px"></a>
<nav>
<ul id="navbar">
<li><a href="index.html">Home</a></li>
<li><a class="active" href="shop.html">Shop</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 id="close"><i class="fa-solid fa-xmark"></i></a>
</ul>
</nav>
<div id="mobile">
<a href="cart.html"><i class="fa-solid fa-bag-shopping"></i></a>
<i id="bar" class="fa-solid fa-bars"></i>
</div>
</header>
<!-- CONTENT -->
<main>
<!-- Gambar 4 -->
<div id="prodetails" class="section-p1">
<div class="single-pro-image">
<img src="img/product/n1.jpg" alt="" width="100%" id="MainImg">
<div class="small-img-group">
<div class="small-img-col">
<img src="img/product/n1.jpg" alt="" width="100%" class="small-img">
</div>
<div class="small-img-col">
<img src="img/product/n7.jpg" alt="" width="100%" class="small-img">
</div>
<div class="small-img-col">
<img src="img/product/f7.jpg" alt="" width="100%" class="small-img">
</div>
<div class="small-img-col">
<img src="img/product/1.jpg" alt="" width="100%" class="small-img">
</div>
</div>
</div>
<div class="single-pro-details">
<h6>T-Shirt</h6>
<h4>Lorem ipsum dolor sit amet consectetur, adipisicing elit</h4>
<h2>Rp xx</h2>
<select name="" id="">
<option value="">Select Size</option>
<option value="">XL</option>
<option value="">L</option>
<option value="">M</option>
<option value="">S</option>
</select>
<input type="number" value="1">
<button class="normal">Add To Cart</button>
<h4>Product Details</h4>
<span>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam necessitatibus cumque maxime
asperiores, neque quis deserunt soluta minus sequi quas assumenda libero quidem, iusto facere
accusantium officiis itaque, recusandae ratione.
Aperiam ut eligendi aliquid explicabo nulla totam aliquam perspiciatis nesciunt aut sequi error
autem nam, rem repellendus veniam. Distinctio tempora pariatur ad quidem qui animi sed quia magni
libero voluptas.</span>
</div>
</div>
<!-- NEWSLETTER -->
<section id="newsletter" class="section-p1 section-m1">
<div class="newstext">
<h4>Sign Up For Newsletters</h4>
<p>Lorem ipsum dolor sit, amet consectetur <span>adipisicing</span></p>
</div>
<div class="form">
<input type="email" placeholder="Your email address">
<button class="normal">Sign Up</button>
</div>
</section>
</main>
<!-- FOOTER -->
<footer id="fot" class="section-p1">
<div class="row">
<div class="col">
<h4>OUR COMMUNITY</h4>
<div class="logo">
<img src="img/footer/LOGO-02 (1).png" alt="">
<img src="img/footer/hmcLight.png" alt="">
</div>
</div>
<div class="col">
<h4>ABOUT</h4>
<div class="about">
<a href="#fot">About us</a>
<a href="#fot">Delivery Information</a>
<a href="#fot">Privacy Policy</a>
<a href="#fot">Terms & Condition</a>
<a href="#fot">Contact Us</a>
</div>
</div>
<div class="col">
<h4>FOLLOW US</h4>
<div class="icon">
<ul>
<li><a href="#fot">Facebook</a></li>
<li><a href="#fot">Twitter</a></li>
<li><a href="#fot">Instagram</a></li>
<li><a href="#fot">Pinterest</a></li>
<li><a href="#fot">YouTube</a></li>
</ul>
</div>
</div>
<div class="col">
<h4>PAYMENT METHOD</h4>
<div class="payment">
<img src="img/footer/Visaa.PNG" alt="visa">
<img src="img/footer/pp.PNG" alt="payPal">
<img src="img/footer/masterCard.PNG" alt="bulat">
<img src="img/footer/bitcoinn.PNG" alt="bitCoin">
</div>
</div>
</div>
<div class="copyright">
<hr>
<p>Copyright © 2024 - Syahril Fitrawan Abadi dan Angelina Febriani Madesen</p>
</div>
</footer>
<script>
let mainImg = document.getElementById('MainImg');
let smallImg = document.querySelectorAll('.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;
}
</script>
<!-- <script src="nav.js"></script> -->
<script src="main.js"></script>
</body>
</html>