-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (110 loc) · 4.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flight Booking</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-form">
<h3>Booking Flights</h3>
<div class="input-group">
<label for="">Flying From</label>
<input class="inp-style" type="text" name="" placeholder="Dhake, Bangladesh">
</div>
<div class="input-group">
<label for="">Flying To</label>
<input class="inp-style" type="text" name="" placeholder="New York, United States">
</div>
<div class="inputs">
<div class="input-group">
<label" for="">Departure</label>
<input class="inp-style" type="date" name="">
</div>
<div class="input-group">
<label for="">Return</label>
<input class="inp-style" type="date" name="">
</div>
</div>
<div class="input-group firstClassTGroup f-class">
<div>
<label for="">First Class ($ <span id="firstClassTPrice">150</span> )</label>
<input id="firstClassTCount" class="inp-style inp-width" value="1" type="number" name="">
</div>
<div class="plus-minus-btn">
<p> <span class="plusBtn">+</span> <span class="minusBtn">-</span> </p>
</div>
</div>
<div class="input-group economyTGroup f-class">
<div>
<label for="">Economy ($ <span id="economyTPrice">100</span> )</label>
<input id="economyTCount" class="inp-style inp-width" value="1" type="number" name="">
</div>
<div class="plus-minus-btn">
<p> <span class="plusBtn">+</span> <span class="minusBtn">-</span> </p>
</div>
</div>
<div class="calculations">
<div class="amount">
<div class="left">
<p>Subtotal</p>
</div>
<div class="right">
<p>$ <span id="subTotal"></span> </p>
</div>
</div>
<div class="amount">
<div class="left">
<p>Charge <span id="vat"></span> % VAT</p>
</div>
<div class="right">
<p>$ <span id="totalVat"></span> </p>
</div>
</div>
<hr>
<div class="amount">
<div class="left">
<h4>Total</h4>
</div>
<div class="right">
<p>$ <span id="total"></span></p>
</div>
</div>
</div>
<button id="bookNow" class="btn-style">Book Now</button>
</div>
<div class="booking-content">
<h1>discover <br> around the world</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicingelit. Provident voluptatibus quam fuga laborumalias veniam libero autem quasi maxime ullam vero nama imi dolor, architecto ab facilis eaque deserunt nobise voluptatibus quam</p>
</div>
</section>
<section class="congrats">
<h1> <span id="closCongrats">X</span> </h1>
<h2>CONGRATULATION</h2><h3>You have booked </h3>
<h4> First Class Ticket : <span id="firstClassTBook"></span><br>Economy Ticket : <span id="economyTBook"></span>
</h4>
<h3>Your Total Bill : <span id="bill"></span></h3>
</section>
<!--Thank You-->
<script src="app.js"></script>
</body>
</html>