-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment.html
309 lines (298 loc) · 9.78 KB
/
payment.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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://kit.fontawesome.com/a1a5ed085a.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./style/payment.css" />
<title>Payment</title>
</head>
<body>
<!-- navBar -->
<div class="navbar">
<a href="/index.html">
<img
class="logo"
src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/BestBuy_Logo_2020-190616.png;maxHeight=80;maxWidth=136"
alt=""
/>
</a>
<div class="menu">
<i class="fa-solid fa-bars fa-xl"></i>
<h3>MENU</h3>
</div>
<div class="search">
<input class="search" type="text" placeholder="Search Best Buy" />
<i class="fa-solid mag fa-magnifying-glass fa-lg"></i>
</div>
<div class="last">
<div class="aiea">
<i class="fa-solid tag fa-tag fa-lg"></i>
<h3>Aiea</h3>
</div>
<a href="/cart.html">
<div class="cart">
<i class="fa-solid cart-log fa-cart-shopping fa-lg"></i>
<h3>Cart</h3>
</div>
</a>
</div>
<!-- navbar end -->
</div>
<div class="below-navbar">
<div>Top Deal</div>
<div><a href="/dealoftheDay.html"> Deal of the day</a></div>
<div>Totaltech Membership</div>
<div>Credit Cards</div>
<div>Gift Cards</div>
<div>Gift Ideas</div>
<div>Health & Wellness</div>
<div>
<select name="" id="">
<option value="More">More</option>
</select>
</div>
<div>
<i class="fa-solid fa-user"></i>
<select name="" id="">
<option value="More">Account</option>
<option value="">Sign In</option>
</select>
</div>
<div>
<select name="" id="">
<option value="More">Recently Viewed</option>
</select>
</div>
<div>
<!-- <select name="" id="">
<option value="More">Order Status</option>
</select> -->
<a href="/signup.html"><p>Sign Up</p></a>
</div>
<div>
<!-- <select name="" id="">
<option value="More">Saved Items</option>
</select> -->
<a href="/login.html"><p>Login</p></a>
</div>
</div>
<!-- ------------belo nav bar ends-------------- -->
<!-- payment page start -->
<div class="payment">
<h3>Enter Card Detail</h3>
<form>
<input id="mobile" type="number" placeholder="Mobile no" />
<input type="email" placeholder="Enater email" />
<input id="card" type="number" placeholder="-------card no--------" />
<input id="cvv" type="number" placeholder="CVV" />
<input id="otp" type="number" placeholder="OTP" />
<input id="btn" type="submit" value="Pay Now" />
</form>
<div class="card_type">
<i class="fa-brands fa-cc-visa fa-3x"></i>
<i class="fa-brands fa-cc-amex fa-3x"></i>
<i class="fa-brands fa-cc-mastercard fa-3x"></i>
<i class="fa-brands fa-cc-apple-pay fa-3x"></i>
<i class="fa-solid fa-credit-card fa-3x"></i>
<i class="fa-brands fa-cc-amazon-pay fa-3x"></i>
</div>
<!-- popup -->
<div class="popup">
<img src="https://pngimage.net/wp-content/uploads/2018/06/right-tick-mark-png-5.png" alt="">
<h1>Order Succesfuly Placed</h1>
<H3>Thank you for Shopping with us</H3>
<button><a href="/index.html"> Continue Shopping</a></button>
</div>
<!-- popup -->
</div>
<!-- --------------payment---end -------------->
<!-- -------------------------footer---------------------------------- -->
<div class="footer">
<div class="footer-first">
<div>
<div>
<img
class="footer-icon"
src="https://i.postimg.cc/26vppQQZ/Screenshot-2022-03-27-at-4-45-41-PM.png"
alt=""
/>
</div>
<p>Visit our Support Center</p>
</div>
<div>
<div>
<img
class="footer-icon"
src="https://i.postimg.cc/zG8089h7/Screenshot-2022-03-27-at-4-49-44-PM.png"
alt=""
/>
</div>
<p>Check your Order Status</p>
</div>
<div>
<div>
<img
class="footer-icon"
src="https://i.postimg.cc/50BShgtT/Screenshot-2022-03-27-at-4-50-46-PM.png"
alt=""
/>
</div>
<p>Shipping, Delivery & Store Pickup</p>
</div>
<div>
<div>
<img
class="footer-icon"
src="https://i.postimg.cc/Qd68bZkn/Screenshot-2022-03-27-at-4-51-32-PM.png"
alt=""
/>
</div>
<p>Returns & Exchanges</p>
</div>
<div>
<div>
<img
class="footer-icon"
src="https://i.postimg.cc/C1bp93k0/Screenshot-2022-03-27-at-4-52-17-PM.png"
alt=""
/>
</div>
<p>Price Match Guarantee</p>
</div>
</div>
<hr />
<div class="footer-second-row">
<div class="first">
<div>
<h3>Order & Purchases</h3>
<p>Check Order Status</p>
<p>Returns & Exchanges</p>
<p>Price Match Guarantee</p>
<p>Product Recalls</p>
<p>Trade-In Program</p>
<p>Gift Cards</p>
<h3>Payment Options</h3>
<p>My Best Buy® Credit Card</p>
<p>Pay Your Bill at Citibank</p>
<p>Lease to Own</p>
</div>
<div>
<h3>Support & Services</h3>
<p>Visit our Support Center</p>
<p>Shop with an Expert</p>
<p>Schedule a Service</p>
<p>Manage an Appointment</p>
<p>Protection & Support Plans</p>
<p>Haul Away & Recycling</p>
<p>Contact Us</p>
<h3>Rewards & Membership</h3>
<p>Best Buy Totaltech</p>
<p>My Best Buy</p>
<p>View Points & Certificates</p>
<p>Member Offers</p>
</div>
<div>
<h3>Partnerships</h3>
<p>Affiliate Program</p>
<p>Advertise with Us</p>
<p>Developers</p>
<p>Best Buy Health</p>
<p>Best Buy Education</p>
<p>Best Buy Business</p>
<h3>About Best Buy</h3>
<p>Corporate Information</p>
<p>Careers</p>
<p>Corporate Responsibility & Sustainability</p>
<p>Discover & Learn</p>
</div>
</div>
<!-- 2nd -->
<div class="second">
<p>Sign in or Create Account</p>
<hr />
<h3>Get the latest deals and more.</h3>
<div class="foot-sercc">
<input type="text" />
<button>Sign Up</button>
</div>
<hr />
<div class="app">
<img
src="https://i.postimg.cc/x8Q89Y6R/Screenshot-2022-03-27-at-6-10-31-PM.png"
alt=""
/>
<div>
<h2>Best Buy app</h2>
<p>Learn more ›</p>
</div>
</div>
<hr />
<div class="foot-icon">
<i class="fa-brands fa-facebook fa-3x"></i>
<i class="fa-brands fa-twitter fa-3x"></i>
<i class="fa-brands fa-instagram fa-3x"></i>
<i class="fa-brands fa-pinterest fa-3x"></i>
<i class="fa-brands fa-youtube fa-3x"></i>
</div>
<hr />
<p>Forums, blogs & more</p>
</div>
</div>
<div class="footer-last">
<div>
<p>
How was your experience?
<span class="blue">Give feedback about our website </span>
</p>
</div>
<div class="flex">
<p class="blue">Mobile site</p>
<p class="blue">Best Buy Canada</p>
</div>
</div>
<hr />
<div class="last-link">
<p class="blue">Accessibility</p>
<p class="blue">Terms & Conditions</p>
<p class="blue">Privacy</p>
<p class="blue">Interest-Based Ads</p>
<p class="blue">California Privacy Rights</p>
<p class="blue">Do Not Sell My Personal Information</p>
<p class="blue">California Supply Chain Transparency Act</p>
</div>
<p>
In-store pricing may vary. Prices and offers are subject to change. ©
2022 Best Buy. All rights reserved. BEST BUY, the BEST BUY logo, the
tag design, and MY BEST BUY are trademarks of Best Buy and its
affiliated companies.
</p>
</div>
</div>
</body>
</html>
<script>
document.querySelector("form").addEventListener("submit", payment);
function payment() {
event.preventDefault();
if (
document.querySelector("#cvv").value == "999" &&
document.querySelector("#otp").value == "123"
) {
// alert("Order Succesfuly Placed");
// popup/////
document.querySelector("form").addEventListener("submit", popupfun);
function popupfun(){
document.querySelector(".popup").classList.add("open-popup")
}
// popup//////
} else {
alert("Incerect Detail");
}
}
// ----------------------------
</script>