-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.html
95 lines (90 loc) · 4.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Spartan:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Dine | Reserve place</title>
</head>
<body>
<!-- <div class="o-booking"> -->
<header class="o-booking">
<div class="o-booking__logoBox">
<a href="index.html"><img src="./images/logo.svg" class="o-booking__logo" alt="Dine logo"></a>
</div>
<h1 class="booking -h1 -white">Reservations</h1>
<p class="paragraph -white">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="#" class="a-btnCta -btnTransparent">Reserve place</a>
</header>
<section class="o-bookingForm">
<form id="form" class="form">
<div class="form__group">
<input type="text" name="name" id="name" placeholder="Name">
<small>Error message</small>
</div>
<div class="form__group">
<input type="text" name="email" id="email" placeholder="Email">
<small>Error message</small>
</div>
<div class="form__group form__group-date">
<label for="date">Pick a date</label>
<div class="form__dateBox">
<input type="number" name="month" id="month" min="1" max="12" placeholder="MM">
<input type="number" name="day" id="day" min="1" max="31" placeholder="DD">
<input type="number" name="year" id="year" min="2020" max="2030" placeholder="YYYY">
</div>
<small>Error message</small>
</div>
<div class="form__group form__group-time">
<label for="time">Pick a time</label>
<div class="form__timeBox">
<input type="number" name="hour" id="hour" min="00" max="12" placeholder="HH">
<input type="number" name="minute" id="minute" min="00" max="59" placeholder="MM">
<div class="m-daytime__box"><span id="selectedDaytime">AM</span><span id="arrow" class="a-arrow"><img src="images/icons/icon-arrow.svg" alt="Select arrow"></span>
<div class="m-daytime__options -hidden">
<div class="m-daytime__options-AM">
<span id="tickAM" class="a-tick">
<img src="images/icons/icon-check.svg" alt="Check icon">
</span>AM</div>
<div class="m-daytime__options-PM"><span id="tickPM" class="a-tick -hidden">
<img src="images/icons/icon-check.svg" alt="Check icon">
</span>PM</div>
</div>
</div>
</div>
<small>Error message</small>
</div>
<div class="form__group">
<div class="form__people">
<span class="plusminus" id="minus">-</span>
<span class="form__people-middle"><span id="peopleNumber">4</span> <span id="personWord">people</span></span>
<span class="plusminus" id="plus">+</span>
</div>
</div>
<div class="form__group">
<button class="a-btnSubmit" id="btnSubmit">Make reservation</button>
</div>
</form>
</section>
<!-- </div> -->
<footer class="o-footer -white">
<img src="./images/logo.svg" alt="Dine logo">
<ul class="m-footer__address">
<li>Marthwaite, Sedbergh</li>
<li>Cumbria</li>
<li>+00 44 123 4567</li>
</ul>
<ul class="m-footer__openTimes">
<li>Open Times</li>
<li>Mon - Fri: 09:00 AM - 10:00 PM</li>
<li>Sat - Sun: 09:00 AM - 11:30 PM</li>
</ul>
</footer>
</body>
<script src="script/form-select.js"></script>
<script src="script/people-counter.js"></script>
<script src="script/form-validation.js"></script>
</html>