-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.html
executable file
·101 lines (90 loc) · 4.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Spartan:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/base.css">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png" />
<script src="javascript/form.js"></script>
<title>Frontend Mentor | Dine Website Challenge</title>
</head>
<body class="booking">
<div class="container">
<div class="header bg-dark flow-content-large">
<div class="logo"><a href="/"><img src="images/logo.svg" alt="dine logo"></a></div>
<div class="header__intro flow-content-large">
<h1>Reservations</h1>
<p>We can’t wait to host you. If you have any special requirements please feel free to
call on the phone number below. We’ll be happy to accommodate you.</p>
<a href="#booking" class="btn btn--clear">Reserve Place</a>
</div>
</div>
<section class="reservation">
<form id="booking" class="reservation__form brown-lines flow-content-md" action="book" method="post">
<div class="input-group flow-content-xsmall">
<input type="text" name="name" id="name" placeholder="Name">
<p class="error__message">This field is required.</p>
</div>
<div class="input-group flow-content-xsmall">
<input type="email" name="email" id="email" placeholder="Email">
<p class="error__message">This field is required.</p>
</div>
<div class="input-group">
<fieldset role="group" aria-labelledby="heading" class="inline-input flow-content-xsmall">
<div>
<h4 class="fw-300">Pick a date</h4>
<p class="error__message">This field is incomplete.</p>
</div>
<div class="date_fields">
<input type="text" name="month" id="month" placeholder="MM">
<input type="text" name="day" id="day" placeholder="DD">
<input type="text" name="year" id="year" placeholder="YYYY">
</div>
</fieldset>
</div>
<div class="input-group">
<fieldset role="group" aria-labelledby="heading" class="inline-input flow-content-xsmall">
<div>
<h4 class="fw-300">Pick a time</h4>
<p class="error__message">This field is incomplete.</p>
</div>
<div class="date_fields">
<input type="text" name="hour" id="hour" placeholder="09">
<input type="text" name="minute" id="day" placeholder="00">
<div class="ampm">
<input type="text" name="ampm" id="ampm_input" value="AM" readonly="true">
<img class="ampm__arrow" src="images/icons/icon-arrow.svg" alt="down arrow">
<ul class="ampm__list box-shadow">
<li class="selected">AM</li>
<li>PM</li>
</ul>
</div>
</div>
</fieldset>
</div>
<div class="input-group inline-input counter">
<button id="dec" class="btn btn--icon">-</button>
<div class="people-input bold"><input type="text" name="people" id="people" value="4">people</div>
<button id="inc" class="btn btn--icon">+</button>
</div>
<button type="submit" class="btn">Make Reservation</button>
</form>
</section>
<footer class="footer bg-dark">
<div class="logo"><img src="images/logo.svg" alt="dine logo"></div>
<div class="contact flow-content-xsmall">
<p>Marthwaite, Sedbergh</p>
<p>Cumbria</p>
<p>+00 44 123 4567</p>
</div>
<div class="times flow-content-xsmall">
<p> Open Times</p>
<p>Mon - Fri: 09:00 AM - 10:00 PM</p>
<p>Sat - Sun: 09:00 AM - 11:30 PM</p>
</div>
</footer>
</div>
</body>
</html>