-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathproducts.html
250 lines (216 loc) · 7.25 KB
/
products.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css" />
<title>js ecom website</title>
</head>
<body onload="Finish_Loader()">
<!-- pre load -->
<div id="loader">
<div class="loader">Loading
<span></span>
</div>
</div>
<header class="section-navbar">
<div class="container">
<div class="navbar-brand">
<a href="index.html">
<img
src="./public/images/Newlogo.png"
alt="thapa eCommerce logo"
class="logo"
width="80%"
height="auto"
style="mix-blend-mode:darken;"
/>
</a>
</div>
<nav class="navbar">
<ul>
<li class="nav-item">
<a href="/" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="about.html" class="nav-link">about</a>
</li>
<li class="nav-item">
<a href="products.html" class="nav-link">products</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link">contact</a>
</li>
<li class="nav-item">
<a
href="addToCart.html"
class="nav-link add-to-cart-button"
id="cartValue"
>
<i class="fa-solid fa-cart-shopping"> 0 </i>
</a>
</li>
</ul>
</nav>
</div>
<section class="top_txt">
<div class="head container">
<div class="head_txt">
<p>Free shipping, 30-day return or refund guarantee.</p>
</div>
<div class="sing_in_up">
<a href="# ">SIGN IN</a>
<a href="# ">SIGN UP</a>
</div>
</div>
</section>
</header>
<!-- ========== Start Extra Product Section ========== -->
<section class="section-extra-product">
<div class="container grid grid-three--cols">
<div class="div-extra grid grid-two--cols">
<div class="extra-text">
<p>new year sale</p>
<h3>get and extra 50% off</h3>
<a href="#">Show now</a>
</div>
<div class="extra-img extra-laptop">
<img src="./images/laptop.png" alt="" />
</div>
</div>
<div class="div-extra grid grid-two--cols">
<div class="extra-text">
<p>new year sale</p>
<h3>40% discount on speakers</h3>
<a href="#">Show now</a>
</div>
<div class="extra-img">
<img src="./images/headphoneEcom.png" alt="" />
</div>
</div>
<div class="div-extra grid grid-two--cols">
<div class="extra-text">
<p>new year sale</p>
<h3>get and extra 50% off</h3>
<a href="#">Show now</a>
</div>
<div class="extra-img">
<img src="./images/mobiles.png" alt="" />
</div>
</div>
</div>
</section>
<!-- ========== End Extra Product Section ========== -->
<!-- ========== Start policy ========== -->
<section class="section-policy">
<div class="container grid grid-four--cols">
<div class="div-policy">
<div class="icons">
<i class="fa-solid fa-truck-fast"></i>
</div>
<div class="div-policy-text">
<p>worldwide shipping</p>
<p>order above $100</p>
</div>
</div>
<div class="div-policy">
<div class="icons">
<i class="fa-solid fa-rotate"></i>
</div>
<div class="div-policy-text">
<p>Easy 30 Day Returns</p>
<p>Back Returns in 7 Days</p>
</div>
</div>
<div class="div-policy">
<div class="icons">
<i class="fa-solid fa-hand-holding-dollar"></i>
</div>
<div class="div-policy-text">
<p>money back guarantee</p>
<p>guarantee with in 30-Days</p>
</div>
</div>
<div class="div-policy">
<div class="icons">
<i class="fa-solid fa-headset"></i>
</div>
<div class="div-policy-text">
<p>Easy Online Support</p>
<p>24/7 Any time support</p>
</div>
</div>
</div>
</section>
<!-- ========== End policy ========== -->
<!-- ========== Start Our Products Section ========== -->
<section class="section-products container">
<div class="">
<h2 class="section-common--heading">Checkout Thapa Store</h2>
</div>
<section class="container">
<div id="productContainer"></div>
</section>
</section>
<!-- ========== Start Product Template Section ========== -->
<template id="productTemplate">
<div class="cards" id="cardValue">
<article class="information [card]">
<span class="category"></span>
<div class="imageContainer">
<img class="productImage" src="" alt="" />
</div>
<h2 class="productName"></h2>
<div class="productRating">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
</div>
<p class="productDescription"></p>
<div class="productPriceElement">
<p class="productPrice"></p>
<p class="productActualPrice"></p>
</div>
<div class="productStockElement">
<p class="productProperty">Total Stocks Available:</p>
<p class="productStock"></p>
</div>
<div class="productQuantityElement">
<p class="productProperty">Quantity(Pieces)</p>
<div class="stockElement">
<button class="cartIncrement">+</button>
<p class="productQuantity">1</p>
<button class="cartDecrement">-</button>
</div>
</div>
<button class="add-to-cart-button">
<i class="fa-solid fa-cart-shopping"></i> Add To Cart
</button>
</article>
</div>
</template>
<!-- ========== End Product Template Section ========== -->
<!-- ========== End Our Products Section ========== -->
<!--* ========== Start Footer Section ========== -->
<footer class="section-footer">
<script src="footer.js"></script>
</footer>
<!-- Include the footer JavaScript file -->
<!--* ========== End Footer Section ========== -->
// For Loader Page
<script>
const preloader = document.querySelector("#loader");
function Finish_Loader(){
preloader.style.display = "none";
}
</script>
<script type="module" src="main.js"></script>
</body>
</html>