-
Notifications
You must be signed in to change notification settings - Fork 0
/
singleProduct.html
145 lines (120 loc) · 4.28 KB
/
singleProduct.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Single Product</title>
<link rel="stylesheet" href="./css/all.min.css">
<link rel="stylesheet" href="./css/fontawesome.min.css">
<link rel="stylesheet" href="./css/singleProduct.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<header>
<div class="top-bar">
<div class="left-icons">
<div class="logo">
<a href="index.html">
<h1 class="txt-color">Click & Buy</h1>
</a>
</div>
</div>
<div class="right-icons">
<i class="fa-solid fa-user white-things"></i>
<i class="fa-solid fa-cart-shopping white-things cart-icon">
<span id="cart-num"></span>
</i>
<a href="#" class="login white-things">LogIn</a>
</div>
</div>
</header>
<!-- single Product -->
<div class="product">
<div id="singleProduct">
<div class="image">
<img id="image" src="" alt="product">
</div>
<div class="singleContent">
<h3 id="title"></h3>
<h5 id="description"></h5>
<p id="rating"></p>
<p id="price"></p>
<div class="product-imgs" id="product-imgs">
</div>
<button id="addCart">
<a href="#">
Add To Cart
</a>
</button>
<div class="icons">
<i class="fa-solid fa-minus btn-icon" id="minus"></i>
<p class="count" id="count">1</p>
<i class="fa-solid fa-plus btn-icon" id="plus"></i>
</div>
</div>
</div>
<div class="cart" id="cart">
<div class="img-single-content">
<div class="image" id="image">
<img id="imagecart" src="" alt="product">
</div>
<div class="singleContent">
<h3 id="titlecart"></h3>
<h5 id="descriptioncart"></h5>
<p id="ratingcart"></p>
<p id="pricecart"></p>
</div>
</div>
</div>
<div class="reviews">
<div class="reviewsBody">
<h6 class="testimonial">Testimonial</h6>
<h2 class="customerSay">What Our Customers Say</h2>
<div class="reviewBox">
<div id="boxes">
<!-- Rate,comment,name,email -->
</div>
</div>
</div>
</div>
</div>
<!-- footer -->
<footer class="footer-section">
<div class="contents">
<div class="content-footer">
<h3>Address</h3>
<p>
Name of street 12, Name of city,
<span>Post code 123</span>
</p>
</div>
<div class="content-footer">
<h3>Contact us</h3>
<p>
info@feyer.com
<span>123-456-7890</span>
</p>
</div>
<div class="content-footer">
<h3>Follow</h3>
<p>
Facebook
<span>Instagram</span>
</p>
</div>
<div class="content-footer">
<h3>Info</h3>
<p>
Shipping & returns
<span>Privacy Policy</span>
<span>Size guide</span>
<span>Terms conditions</span>
</p>
</div>
</div>
</footer>
<script src="InsertDivIntoCart.js"></script>
<script type="module" src="./addToCartSingleProduct.js"></script>
<script type="module" src="./singleProduct.js"></script>
</body>
</html>