This page was made as a personal project in connection with an educational exercise.
This is NOT the official site of the company or brand identified on the page. The creator of this page is NOT affiliated with the company or brand in any way. DO NOT enter any personal information (such as logins, passwords or credit card numbers) on this site.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcheckout.html
256 lines (208 loc) · 14.1 KB
/
checkout.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
<!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">
<title>Checkout Page</title>
<link rel="stylesheet" href="./style/checkout.css">
</head>
<body>
<div id="backgroundImage">
<img src="https://cdn.shopify.com/s/files/1/0361/8553/8692/collections/By-catagory-4_1400x.png?v=1652420259"
alt="">
<img class="bgclass" src="./images/Dot&Key_Logo.png" alt="project_logo">
</div>
<div id="form_Data">
<div id="checkoutContainer">
<div class="checkout_box1">
<div class="checkout_Information ">
<div id="options">
<ul id="list">
<li style="color: #ff6781;">Cart ></li>
<li>Information ></li>
<li>Shipping ></li>
<li>Payment</li>
</ul>
</div>
</div>
<div class="contact_address_info">
<!-- CONTACT INFORMATION -->
<div class="contact_info">
<h2>Contact information</h2>
<div class="contact_info2">
<div class="contact_img">
<img height="60px" width="60px"
src="https://www.clipartkey.com/mpngs/m/80-809592_transparent-profile-clipart-user-vector-icon-png.png">
</div>
<div class="contact_info_login">
<div id="user_details_name">Name</div>
</div>
</div>
</div>
<!-- ADDRESS INFORMATION -->
<div class="address_info">
<h2>Shipping address</h2>
<form id="form">
<div class="saved_address">
<select name="" id="use_address">
<option value="saved_addres">Previously saved address</option>
<option value="new_addresss">Use a new address</option>
</select>
</div>
<div>
<select id="use_address1">
<option>Country</option>
<option value="Afghanistan">Afghanistan</option>
<option value="Azerbaijan">Azerbaijan</option>
<option value="Bahrain">Bahrain</option>
<option value="Bangladesh">Bangladesh</option>
<option value="Bhutan">Bhutan</option>
<option value="British IOT">British Indian Ocean Territory</option>
<option value="Brunei">Brunei</option>
<option value="Cambodia">Cambodia</option>
<option value="China">China</option>
<option value="Christmas Island">Christmas Island</option>
<option value="Cocos">Cocos(Keeling) Islands</option>
<option value="Hongkong">Hong Kong SAR</option>
<option value="India">India</option>
<option value="Indonesia">Indonesia</option>
<option value="Iraq">Iraq</option>
<option value="Israel">Israel</option>
<option value="Japan">Japan</option>
<option value="Jordan">Jordan</option>
<option value="Kazakhstan">Kazakstan</option>
<option value="Kuwait">Kuwait</option>
<option value="Kyrzyzstan">Kyrzyzstan</option>
<option value="Laos">Laos</option>
<option value="Lebanon">Lebanon</option>
<option value="Macao">Macao SAR</option>
<option value="Malaysia">Malaysia</option>
<option value="Maldives">Maldives</option>
<option value="Mangolia">Mangolia</option>
<option value="Myanmar">Myanmar (Burma)</option>
<option value="Nepal">Nepal</option>
<option value="Oman">Oman</option>
<option value="Pakistan">Pakistan</option>
<option value="Palestinian">Palestinian Territories</option>
<option value="Philippines">Philippines</option>
<option value="Qatar">Qatar</option>
<option value="Russia">Russia</option>
<option value="Saudi Arabia">Saudi Arabia</option>
<option value="Singapore">Singapore</option>
<option value="South Korea">South Koria</option>
<option value="Srilanka">Sri Lanka</option>
<option value="Taiwan">Taiwan</option>
<option value="Tajikistan">Tajikistan</option>
<option value="Thailand">Thailand</option>
<option value="Turkmenistan">Turkmenistan</option>
<option value="United Arab Emirates">United Arab Emirates</option>
<option value="Uzbekistan">Uzbekistan</option>
<option value="Vietnam">Vietnam</option>
<option value="Yemen">Yemen</option>
</select>
</div>
<div id="ip_name">
<input id="first_name" type="text" placeholder="First name">
<input id="last_name" type="text" placeholder="Last name">
</div>
<div>
<input id="address_1" type="text" placeholder="Address">
</div>
<div>
<input id="address_2" type="text" placeholder="Apartment, suite, etc.(optional">
</div>
<div class="ip_city">
<input id="city" type="text" placeholder="City">
<select name="State" id="state_name">
<option disabled>State</option>
<option value="Andaman">Andaman and Nikobar Islands</option>
<option value="Andra_Pradesh">Andhra Pradesh</option>
<option value="Arunachal_pradesh">Arunachal Pradesh</option>
<option value="Assam">Assam</option>
<option value="Bihar">Bihar</option>
<option value="Chandigarh">Chandigarh</option>
<option value="Chhattisgarh">Chattisgarh</option>
<option value="Dadra">Dadra and Nagar Haveli</option>
<option value="Daman">Daman and Diu</option>
<option value="Delhi">Delhi</option>
<option value="Goa">Goa</option>
<option value="Gujarat">Gujarat</option>
<option value="Haryana">Haryana</option>
<option value="Himachal_pradesh">Himachal Pradesh</option>
<option value="Jammu_kashmir">Jammu Kashmir</option>
<option value="Jharkhand">Jharkhand</option>
<option value="Karnataka">Karnataka</option>
<option value="Kerala">Kerala</option>
<option value="Ladakh">Ladakh</option>
<option value="Lakshdweep">Lakshdweep</option>
<option value="Madhya_Pradesh">Madhya Pradesh</option>
<option value="Maharashtra">Maharashtra</option>
<option value="Manipur">Manipur</option>
<option value="Meghalaya">Meghalaya</option>
<option value="Mizoram">Mizoram</option>
<option value="Nagaland">Nagaland</option>
<option value="Odisha">Odisha</option>
<option value="Puducherry">Puducherry</option>
<option value="Punjab">Punjab</option>
<option value="Rajastan">Rajastan</option>
<option value="Sikkim">Sikkim</option>
<option value="Tamil_Nadu">Tamil Nadu</option>
<option value="Telangana">Telangana</option>
<option value="Tripura">Tripura</option>
<option value="Uttar_Pradesh">Uttar Pradesh</option>
<option value="Uttarkhand">Uttharkhand</option>
<option value="Eest_Bengal">West Bengal</option>
</select>
<input id="pin_code" type="text" placeholder="PIN code">
</div>
<div>
<input id="phone_num" type="tel" placeholder="Phone number">
</div>
<div class="ip_checkbox">
<input type="checkbox" id="save_info" name="" value="">
<label for="save_info"> Save this information for next time</label>
</div>
<div id="ip_submit">
<button id="return_to_cart">
< Return to cart</button>
<button id="return_to_shipping">Continue to shipping</button>
</div>
</form>
</div>
</div>
<!-- FOOTER PART -->
<footer class="main_footer" role="contentinfo">
<ul class="policy-list" role="list">
<li class="policy-list__item "><a>Refund policy </a></li>
<li class="policy-list__item "> <a>Shipping policy </a></li>
<li class="policy-list__item "><a> Privacy policy</a> </li>
<li class="policy-list__item "><a>Terms of service </a></li>
</ul>
</footer>
</div>
<div class="checkout_box2">
<div class="checkout2">
<p>Pay now and get 3% <span> instant discount. </span></p>
<hr>
<div class="cart_items" id="cartBox">
</div>
<hr>
<div class="gift_card">
<input type="text" id="coupon_code" placeholder="15% Discount using masai04 coupon code">
<button id="coupon_btn" onclick="applyCoupon()">Apply</button>
</div>
<hr>
<p style="margin-bottom: -4%;">Subtotal</p><span id="subtotal"></span>
<p>Shipping Free</p>
<hr>
<p id="discount"></p>
<p style=" margin-bottom: -3%;" >Total</p><span id="total"></span>
<p>Including ₹167.56 in taxes</p>
</div>
</div>
</div>
</div>
</body>
</html>
<script src="./scripts/checkout.js"></script>