-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
187 lines (173 loc) · 6.82 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bus Ticket</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet">
<!-- Stylesheet -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--Header and Menu Section-->
<header class="container">
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact</a></li>
<li><a class="active" href="#">sign Up</a></li>
</ul>
</nav>
</header>
<!--Booking Section-->
<main class="main-content container">
<div class="booking-content">
<h1>Mega City Bus</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
</div>
<div id="beforeBooking" class="booking-form">
<h3>Explore By Bus</h3>
<div class="inputs">
<div class="input-group">
<label" for="">From</label>
<input id="startingFrom" class="inp-style" type="text" name="" placeholder="Dhaka">
</div>
<div class="input-group">
<label" for="">To</label>
<input id="destinationTo" class="inp-style" type="text" name="" placeholder="Chittagone">
</div>
</div>
<div class="inputs">
<div class="input-group">
<label" for="">Departure</label>
<input id="departureDate" class="inp-style" type="date" name="">
</div>
<div class="input-group">
<label for="">Return</label>
<input id="returnDate" class="inp-style" type="date" name="">
</div>
</div>
<div class="inputs">
<div class="input-group f-class">
<div>
<label for="">First Class ($150)</label>
<input id="firstClassInput" class="inp-style inp-width" type="text" value="0" name="">
</div>
<div class="plus-minus-btn">
<p><span class="sign" id="firstClassPlus">+</span> <span class="sign" id="firstClassMinus">-</span>
</p>
</div>
</div>
<div class="input-group f-class">
<div>
<label for="">Economy ($100)</label>
<input id="economyClassInput" class="inp-style inp-width" type="text" value="0" name="">
</div>
<div class="plus-minus-btn">
<p><span id="economyClassPlus" class="sign">+</span> <span class="sign"
id="economyClassMinus">-</span></p>
</div>
</div>
</div>
<div class="calculations">
<div class="amount">
<div class="left">
<p>Subtotal</p>
</div>
<div class="right">
<p>$<span id="subTotal">00</span></p>
</div>
</div>
<div class="amount">
<div class="left">
<p>Charge 10% VAT</p>
</div>
<div class="right">
<p>$<span id="vat">00</span></p>
</div>
</div>
<hr>
<div class="amount">
<div class="left">
<h4>Total</h4>
</div>
<div class="right">
<p>$<span id="total">00</span> </p>
</div>
</div>
</div>
<button id="bookingBtn" class="btn-style">Book Now</button>
</div>
<!-- After Click the Booking Button given div will be showed -->
<div id="afterBooking" class="booking-form">
<h3 style="text-align: center">Booked Ticket</h3>
<div class="input-group amount">
<label for="">From : </label>
<span id="receiveStartingFrom"></span>
</div>
<div class="input-group amount">
<label for="">To : </label>
<span id="receiveDestinationTo" class="right"><span>
</div>
<br>
<div class="inputs">
<div class="input-group">
<label for="">Departure Date:</label>
<p id="receiveDepartureDate"></p>
</div>
<div class="input-group">
<label for="">Return Date:</label>
<p id="receiveReturnDate"></p>
</div>
</div>
<br>
<div class="input-group f-class amount">
<div>
<label for="">First Class ($150): </label>
<p id="receiveFirstClassInput"></p>
</div>
<div>
<label for="">Economy ($100): </label>
<p id="receiveEconomyClassInput"></p>
</div>
</div>
<br>
<div class="calculations">
<div class="amount">
<div class="left">
<p>Subtotal: </p>
</div>
<div class="right">
<p id="receiveSubTotalValue">$0</p>
</div>
</div>
<div class="amount">
<div class="left">
<p>Charge 10% VAT: </p>
</div>
<div class="right">
<p id="receiveVat">$0</p>
</div>
</div>
<hr>
<div class="amount">
<div class="left">
<h4>Total: </h4>
</div>
<div class="right">
<p id="receiveTotalValue">$0</p>
</div>
</div>
</div>
<button class="btn-style">Print A Copy</button>
</div>
</main>
<!-- JS File -->
<script src="script.js"></script>
<!--Thank You-->
</body>
</html>