-
Notifications
You must be signed in to change notification settings - Fork 2
/
checkout.html
222 lines (217 loc) · 6.7 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
<!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</title>
<link rel="stylesheet" href="./styles/checkout.css" />
</head>
<body>
<nav id="cNav">
<a href="cars.html">
<i class="fa-solid fa-arrow-left-long"></i>
</a>
<div id="vDet">
<p id="vName1"></p>
<p>
<span id="start"></span>
<i class="fa-solid fa-arrow-right-long"></i>
<span id="end"></span>
</p>
</div>
</nav>
<div id="summary">
<div id="sHead">
<div id="dets">
<p id="vName2"></p>
<div id="tAndf">
<div>
<img
src="https://zoomcar-assets.zoomcar.com/images/original/2aceee9e84a7bf79ae8928ace92944abbac907d4.png?1584455088"
alt="error"
/>
<p id="tpe"></p>
</div>
<div>
<img
src="https://zoomcar-assets.zoomcar.com/images/original/4c611ba1fb54d1e42553020d9022e5ab2dac14ea.png?1584455110"
alt="error"
/>
<p id="fuel"></p>
</div>
</div>
</div>
<div id="vImg">
<img
id="carImg"
src=""
/>
</div>
</div>
<div class="sCont1">
<div class="b1">
<img
src="https://img.icons8.com/emoji/2x/green-circle-emoji.png"
alt="error"
/>
<div>
<p id="start1"></p>
<p id="pickLocation"></p>
</div>
</div>
<div class="b1">
<img
src="https://img.icons8.com/emoji/2x/red-square-emoji.png"
alt="error"
/>
<div>
<p id="end1"></p>
<p id="dropLocation"></p>
</div>
</div>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/ccedfb3dddda918d76ad27240ffa582f4a59a157.png?1584454852"
alt="error"
/>
<div>
<p>Unlimited Kms without Fuel</p>
</div>
</div>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/b04593cd90f850d14ed46ed739b0371457ef6834.png?1633947533"
alt="error"
/>
<div>
<p><span id="rate"></span> (53)</p>
</div>
</div>
<div id="b3">
<p>
Clean and sanitized car will be delivered at the selected Airport
Terminal
</p>
</div>
</div>
<div class="sCont1">
<p>Other Charges</p>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/8b49713465c5c33330880cfe739ef06348b2c0f0.png?1659443762"
alt=""
/>
<div>
<p>Convenience Fee ₹99</p>
</div>
</div>
</div>
<div class="sCont1">
<p>Damage Protection Package</p>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/f6b01d4ca15bc999a8a0bbe2bb64710cf71f9b75.png?1633967237"
alt="error"
/>
<div>
<p>Standard (₹276)</p>
<p>You pay up to INR 3499 in case of any damage</p>
<p>RECOMMENDED FOR YOU</p>
</div>
<input
type="radio"
name="sle"
id="check1"
checked
onclick="stdAmt()"
/>
</div>
<div class="b2">
<img
src=https://zoomcar-assets.zoomcar.com/images/original/97e7b92d185271d80fa2e7638a3eead238f9a0ed.png?1633967297
alt="error">
<div>
<p>Peace of Mind (₹551)</p>
<p>You pay up to INR 249 in case of any damage</p>
</div>
<input type="radio" name="sle" id="check2" onclick="peaceOfMind()"/>
</div>
<div id="b4">
<p>How Damage Protection Works?</p>
<p>
Incase of accidents or any damage to the car, Zoomcar will take care
of the expenses. You pay the minimum amount as per the package and
we take care of the rest. Higher the package you select, lower the
risk at your end for any damage. Please note that this is applicable
solely in the case of damage to the vehicle and does not cover for
any other third party loss.
</p>
</div>
</div>
<div class="sCont1">
<p>Keep In Mind</p>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/0ebf53a526da3baa9621436223d17ee0a712495e.png?1584454768"
alt="error"
/>
<div>
<p>Driving License Mandatory</p>
</div>
</div>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/ccedfb3dddda918d76ad27240ffa582f4a59a157.png?1584454852"
alt="error"
/>
<div>
<p>Fare & Fuel Policy</p>
<p>
Fare is inclusive of all taxes. Kindly return the car at the same
fuel level as the trip start time
</p>
<p><u>See Details</u></p>
</div>
</div>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/afb10552c79c652619a45d814ab9f936f8592037.png?1584454817"
alt="error"
/>
<div>
<p>Cancellation Policy</p>
<p>Hassle free cancellations and refunds at nominal charges</p>
<p><u>See Details</u></p>
</div>
</div>
<div class="b2">
<img
src="https://zoomcar-assets.zoomcar.com/images/original/9f2143a815aa6de62a72bcc66fa2739162e52fdc.png?1638375860"
alt="error"
/>
<div>
<p>Agreement Policy</p>
<p>
I hereby agree to the terms and conditions of the Lease Agreement
with Host
</p>
<p><u>See Details</u></p>
</div>
<input type="checkbox" id="check3" onclick="checkout()" />
</div>
</div>
</div>
<footer id="foot">
<div id="footbox">
<p id="total"></p>
<button id="cs" onclick="processNxt()">CHECKOUT SUMMARY</button>
</div>
</footer>
</body>
</html>
<script
src="https://kit.fontawesome.com/445205b9df.js"
crossorigin="anonymous"
></script>
<script src="./scripts/checkout.js"></script>