-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
155 lines (150 loc) · 6.85 KB
/
index.html
File metadata and controls
155 lines (150 loc) · 6.85 KB
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Car Rental</title>
<link rel="stylesheet" href="css/main.css">
<script type="text/javascript">
"use strict";
window.onload = () => {
const searchParams = new URL(window.location.href).searchParams;
// fill form values from url
searchParams.forEach((x, y) => document.getElementById(y).value = x);
console.log("width", screen.width);
console.log("height", screen.height);
}
</script>
</head>
<body>
<div id="container" class="">
<header>
<div id="header-container">
<section class="utility-bar">
<article class="logo-container">
<div class="">
<h1 tabindex="0">Vrum Vrum company</h1>
</div>
</article>
</section>
<div id="nav-container">
<article class="nav-menu">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="skip-to-content">
<a href="#main-content" class="skip-to-content">Skip to content</a>
</td>
<td>
<a href="car-guide.html">Car Guide</a>
</td>
<td>
<a href="index.html">Car Hire</a>
</td>
<td>
<a href="not-implemented.html">Van Hire</a>
</td>
<td>
<a href="not-implemented.html">Locations</a>
</td>
<td>
<a href="not-implemented.html">Business Hire</a>
</td>
<td>
<a href="not-implemented.html">Offers</a>
</td>
<td>
<a href="not-implemented.html">Products</a>
</td>
<td>
<a href="not-implemented.html">Help</a>
</td>
<td>
<a href="not-implemented.html">Gold Plus Reward</a>
</td>
</tr>
</tbody>
</table>
</article>
</div>
</div>
</header>
<div id="page">
<div id="page-container">
<div id="home-page">
<div id="reservation-container">
<div id="reservation-heading">
<h2 id="main-content">Rent a car</h2>
</div>
<div id="help-button">
<abbr title="You use car guide to choose your car! This link will take you to our car guide page.">
<a href="car-guide.html">
<img src="img/help.svg" alt="help-button"
aria-label="You use car guide to choose your car! This link will take you to our car guide page">
</a>
</abbr>
</div>
<form action="confirm-booking.html" method="GET">
<div id="location-time-date">
<label class="label" for="location">
Pick-up Location
<input type="text" name="location" id="location" required>
</label>
<label class="label" for="pick-up-date">
Pick-up Date</label>
<input type="date" id="pick-up-date" name="pick-up-date" value="" required
aria-label="Pickup date input with format month - day - year">
<label class="label" for="pick-up-time"> Pick-up Time
<input type="time" id="pick-up-time" name="pick-up-time" value="12:00" required
aria-label="Pickup time input with format hour - minute - PM or AM">
</label>
<label class="label" for="return-up-date">
Return Date
<input type="date" id="return-up-date" name="return-date" value="" required
aria-label="Return date input with format month - day - year">
</label>
<label class="label" for="return-time">Return Time
<input type="time" id="return-time" name="return-time" value="12:00" required
aria-label="Return time input with format hour - minute - PM or AM">
</label>
</div>
<div id="car-details">
<label class="label" for="car-category">
Car category:
<select name="car-category" id="car-category" class="label">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select>
</label>
</div>
<div id="submit-container">
<input type="submit" class="button" name="" value="Book">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<footer>
<article id="social-bar">
<form>
<fieldset>
<label for="social-email" id="social-label">
Enter your email to receive news from us.
<input type="text" id="social-email" value="Your email!">
</label>
<button type="button" id="social-button">Sign up!</button>
</fieldset>
</form>
<ul>
<li><a href="http://www.instagram.com/"><img src="img/ig.png" alt="Instagram"></a></li>
<li><a href="https://twitter.com/"><img src="img/twitter.png" alt="Twitter"></a></li>
<li><a href="https://www.facebook.com/"><img src="img/fb.png" alt="Facebook"></a></li>
</ul>
</article>
</footer>
</body>
</html>