-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckout.html
More file actions
397 lines (312 loc) · 15.9 KB
/
checkout.html
File metadata and controls
397 lines (312 loc) · 15.9 KB
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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!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="style2.css">
<!--bootstrap cdn-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!--font awesome-->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet">
<!--google fonts-->
<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=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap" rel="stylesheet">
<title>Document</title>
</head>
<body>
<!--header-->
<!-- Header -->
<!-- navbar -->
<nav class="navbar navbar-expand-lg custom-navbar mb-0">
<div class="container-fluid">
<a href="./index.html">
<img id="logo" src="https://img.freepik.com/free-vector/hand-drawn-flat-design-bookstore-logo_23-2149350212.jpg" alt="logo"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
<span class="close-icon"><i class="fas fa-times"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- search bar -->
<div class="search-bar">
<form class="d-flex" role="search" >
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-search" type="submit">Search</button>
</form>
</div>
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 align-items-lg-center justify-content-center text-center">
<li class="nav-item">
<a class="nav-link me-5" href="./cart.html" aria-disabled="true"><i class="fa-brands fa-bitbucket me-1"></i>Cart</a>
</li>
<li class="nav-item">
<a href="./loginpage.html" class="nav-link me-5" aria-disabled="true"><i class="fa-regular fa-user me-1"></i>Login</a>
</li>
<li class="nav-item">
<a class="nav-link me-5" href="./wishlist.html" aria-disabled="true"><i class="fa-regular fa-heart me-1"></i></i>Wishlist</a>
</li>
</ul>
</div>
</div>
</nav>
<!--header ends-->
<!-- CheckoutPage Start-->
<div id="banner" class="d-flex justify-content-center align-items-center card w-100 p-5">
<h2 id="banner" class="m-0 fw-bolder">CHECKOUT</h2>
</div>
<!-- Summary -->
<div class="container py-5 shadow mt-5" id="check-out">
<div class="row " >
<div class="col-md-6 pt-3 ">
<!-- Billing Details Form -->
<h2 id="back2" class="p-1 shadow">BILLING DETAILS</h2>
<form action="#" method="POST">
<div class="row py-2">
<div class="col-6">
<label for="name" class="form-label">First Name*</label>
<input type="text" class="form-control" id="name" name="name" required />
</div>
<div class="col-6">
<label for="name" class="form-label">Last Name*</label>
<input type="text" class="form-control" id="name" name="name" required />
</div>
</div>
<div class="row py-2">
<div class="col-12">
<label for="country" class="form-label">Country/Region*</label><br />
<strong>India (IN)</strong>
</div>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="address" class="form-label">Street Address</label>
<div class="py-1">
<input type="text" class="form-control" id="address" name="address" required
placeholder="House Number and street name" />
</div>
<div class="py-1">
<input type="text" class="form-control" id="address" name="address" required
placeholder="Apartment, suite,unit,etc.(optional)" />
</div>
</div>
</div>
<div class="row py-2">
<div class="col-12">
<label for="state" class="form-label">Town/City</label>
<input type="text" class="form-control" id="state" name="state" required />
</div>
</div>
<div class="row py-2">
<div class="col-12">
<label for="state" class="form-label">State</label>
<input type="text" class="form-control" id="state" name="state" required />
</div>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="pincode" class="form-label">Pincode</label>
<input type="text" class="form-control" id="pincode" name="pincode" required />
</div>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="phone" class="form-label">Phone Number</label>
<input type="tel" class="form-control" id="phone" name="phone" required />
</div>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" name="email" required />
</div>
</div>
</form>
</div>
<!-- space b/w twp -->
<div class="col-1 pt-3 ">
</div>
<!-- alternative hsipping address -->
<div class="col-md-5 pt-2 " >
<!-- Checkbox -->
<div class="form-check mb-3 " >
<input class="form-check-input" type="checkbox" id="toggleForm" data-bs-toggle="collapse"
data-bs-target="#userForm">
<label class="form-check-label" for="toggleForm">
<h3> Ship to a different address?</h3>
</label>
</div>
<!-- Collapsible Form -->
<div class="collapse" id="userForm">
<!-- Billing Details Form -->
<form action="#" method="POST">
<div class="row py-2">
<div class="col-6">
<label for="name" class="form-label">First Name*</label>
<input type="text" class="form-control" id="name" name="name" required />
</div>
<div class="col-6">
<label for="name" class="form-label">Last Name*</label>
<input type="text" class="form-control" id="name" name="name" required />
</div>
</div>
<div class="row py-2">
<div class="col-12">
<label for="country" class="form-label">Country/Region*</label><br />
<strong>India (IN)</strong>
</div>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="address" class="form-label">Street Address</label>
<div class="py-1">
<input type="text" class="form-control" id="address" name="address" required
placeholder="House Number and street name" />
</div>
<div class="py-1">
<input type="text" class="form-control" id="address" name="address" required
placeholder="Apartment, suite,unit,etc.(optional)" />
</div>
</div>
</div>
<div class="row py-2">
<div class="col-12">
<label for="state" class="form-label">Town/City</label>
<input type="text" class="form-control" id="state" name="state" required />
</div>
</div>
<div class="row py-2">
<div class="col-12">
<label for="state" class="form-label">State</label>
<input type="text" class="form-control" id="state" name="state" required />
</div>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="pincode" class="form-label">Pincode</label>
<input type="number" class="form-control" id="pincode" name="pincode" />
</div>
</div>
</form>
</div>
<div class="row py-2">
<div class="col-md-12">
<label for="comment" class="form-label">Order Notes (Optional)</label>
<input type="textarea" class="form-control " id="textarea" name="textarea" required required
placeholder="Notes about your order, e.g. special notes for delivery." />
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row" id="check-out" >
<div class="col-md-12 pt-3 p-3 mb-5 bg-white rounded" >
<div class="card-body" id="back3">
<h2 id="back1" class=" shadow card-title p-2">Order Summary</h2>
<hr>
<ul class="list-group shadow rounded">
<li class="list-group-item d-flex justify-content-between">
<span>Subtotal</span>
<span>1388</span>
</li>
<li class="list-group-item d-flex justify-content-between">
<span>Shipping Charge</span>
<span>280</span>
</li>
<li class="list-group-item d-flex justify-content-between">
<span>Tax (2%)</span>
<span>28</span>
</li>
<li class="list-group-item d-flex justify-content-between" id="back2">
<strong>Total</strong>
<strong>1696/-</strong>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container py-5 " id="check-out" >
<div class="p-3 border shadow rounded" id="back2">
<h5 class="">Credit/Debit card</h5>
<div class="row " id="back1">
<div class="col-md-6 py-3">
<label for="cardnumber" class="form-label">Card number</label>
<input type="number" class="form-control" id="cardnumber" name="cardnumber" required required
placeholder="1234 1234 1234 1234" />
</div>
<div class="col-md-3 py-3">
<label for="cardnumber" class="form-label">Expiration Date</label>
<input type="number" class="form-control" id="cardnumber" name="cardnumber" required required
placeholder="MM/YY" />
</div>
<div class="col-md-3 py-3">
<label for="cardnumber" class="form-label">Security Code</label>
<input type="number" class="form-control" id="cardnumber" name="cardnumber" required
placeholder="CVv" />
</div>
</div>
<div class="row">
<hr>
<p class="muted">Your personal data will be used to process your order, support your experience
throughout this website, and for other purposes described in our privacy policy.</p>
</div>
<div class=" d-flex justify-content-end">
<a href="https://example.com" style="text-decoration: none;">
<button class="checkout">
Checkout
</button>
</a>
</div>
</div>
</div>
<!-- CheckoutPage End-->
<!--footer-->
<div class="container-fluid" id="main-foot" style="background-color:#054D44; margin-top:75px;">
<div class="footer">
<div class="row">
<div class="col-md-3" id="pad">
<h2 class="site-name">THE BOOKSTORE</h2>
<p class="para"> The Bookstore draws book lovers of all ages into a community where they can discover great books, engage with booklovers and meet their favourite literary personalities.
</p>
</div>
<div class="col-md-3" id="pad">
<h2 class="category">Categories</h2>
<ul class="list-group list-group-flush my-custom-list-group">
<li class="list-group-item"><a class="list-a" href="#">Novel</a></li>
<li class="list-group-item"><a class="list-a" href="#">Thriller</a></li>
<li class="list-group-item"><a class="list-a" href="#">Horror</a></li>
<li class="list-group-item"><a class="list-a" href="#">Fantasy</a></li>
<li class="list-group-item"><a class="list-a" href="#">Biography</a></li>
</ul>
</div>
<div class="col-md-3" id="pad">
<h2 class="category">Authors</h2>
<ul class="list-group list-group-flush my-custom-list-group">
<li class="list-group-item"><a class="list-a" href="#">M. T vasudevan</a></li>
<li class="list-group-item"><a class="list-a" href="#">Mark Twain</a></li>
<li class="list-group-item"><a class="list-a" href="#">Shakespere</a></li>
<li class="list-group-item"><a class="list-a" href="#">Madhavikutty</a></li>
<li class="list-group-item"><a class="list-a" href="#">J. K Rowling</a></li>
</ul>
</div>
<div class="col-md-3" id="pad">
<h2 class="category">Get in touch</h2>
<form>
<label for="name" class="label-foot">Name:</label><br>
<input type="text" id="name" name="name" value=""><br>
<label for="email" class="label-foot">Email:</label><br>
<input type="email" id="email" name="email" value=""><br>
<label for="message" class="label-foot">Message:</label><br>
<textarea id="message" name="message" rows="2"></textarea><br><br>
<button type="submit" class="form-button">Submit</button>
</form>
</form>
</div>
<h4 class="copy-right text-center">© 2024 All Rights reserved.</h4>
</div>
</div>
</div>
</body>
</html>