-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.html
129 lines (112 loc) · 4.68 KB
/
booking.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GoSpace</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The following CSS stylesheets are ONLY used to add font and icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<!-- The main CSS stylesheet is used to add the overall styling -->
<link rel="stylesheet" href="css/main.css">
<!-- This is just for the aesthetic stars effect in the background -->
<link rel="stylesheet" href="css/stars.css">
<!-- Standard favicons are used to add a custom icon to the website for every gadgets -->
<link rel="apple-touch-icon" sizes="180x180" href="img/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicons/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest" crossorigin="use-credentials">
</head>
<body>
<div class="the-stars">
<div id='stars'></div>
<div id='stars2'></div>
<div id='stars3'></div>
</div>
<header>
<nav class="navbar">
<div class="container">
<a href="index.html" class="logo">
<img src="img/logo.png" alt="M&T">
</a>
<div class="navbar-right" id="navigation">
<a class="nav-item" href="index.html">Home</a>
<a class="nav-item" href="explore.html">Explore</a>
<a class="nav-item" href="about.html">About</a>
<a class="nav-item active" href="booking.html">Book a Flight</a>
<a href="javascript:void(0);" class="icon" onclick="toggleNavigation()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
</nav>
</header>
<div class="content ">
<div class="container">
<div class="wrapper">
<h2>Book a Flight</h2>
<!---
Form for booking a flight uses 5 different type of components:
1. Text
2. Email
3. Select
4. Date
5. Checkbox
-->
<p class="description">
Book the best flight deals with GoSpace.
</p>
<div class="row">
<form class="card form" onsubmit="return onSubmit(this);">
<div class="form-field">
<label class="form-label" for="name">Name</label>
<input class="form-input" type="text" placeholder="Name" name="name" required>
</div>
<div class="form-field">
<label class="form-label" for="email">Email</label>
<input class="form-input" type="email" placeholder="Email address" name="email" required>
</div>
<div class="form-field">
<label class="form-label" for="origin">Origin</label>
<select class="form-input" name="origin" required>
<option value="indonesia" selected>Indonesia</option>
<option value="japan">Japan</option>
</select>
</div>
<div class="form-field">
<label class="form-label" for="destination">Destination</label>
<select class="form-input" name="destination" required>
<option value="mars" selected>Mars</option>
<option value="jupiter">Jupiter</option>
<option value="iss">International Space Ship</option>
<option value="sun">Sun</option>
</select>
</div>
<div class="form-field">
<label class="form-label" for="depart">Depart</label>
<input class="form-input" type="date" name="depart" required>
</div>
<div class="form-field">
<label class="form-label" for="return">Return</label>
<input class="form-input" type="date" name="return" required>
</div>
<label class="terms">
<input type="checkbox" name="terms" id="terms"> I agree to the terms and conditions
</label>
<div class="form-btn">
<button class="btn-home btn-default">Book Now</button>
</div>
</form>
</div>
</div>
</div>
</div>
<footer>
<p>Copyright © 2022 GoSpace</p>
<a href="https://github.com/Cranbaerry" target="_blank"><i class="fa-brands fa-github"></i> GitHub</a>
<a href="https://www.linkedin.com/in/naufal-h/" target="_blank"><i class="fa-brands fa-linkedin"></i> LinkedIn</a>
</footer>
<script src="js/app.js"></script>
</body>
</html>