Skip to content

Commit b8cae8a

Browse files
committed
Added restaurant reservation example
1 parent 07d6435 commit b8cae8a

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="stylesheet" href="../../build/fluent.min.css" />
7+
<title>Restaurante Reservation System</title>
8+
</head>
9+
<body>
10+
<div class="">
11+
<h1>Restaurant Reservation System</h1>
12+
<label for="name" id="name-label">
13+
<h4>Name for the reservation</h4>
14+
<input
15+
id="name"
16+
type="text"
17+
placeholder="Enter name here..."
18+
required
19+
/>
20+
</label>
21+
<label for="number" id="number-label">
22+
<h4>How many people is the reservation for?</h4>
23+
<input
24+
id="number"
25+
type="number"
26+
min="1"
27+
max="12"
28+
placeholder="Enter how many people here..."
29+
/>
30+
</label>
31+
<label for="email" id="email-label">
32+
<h4>Email</h4>
33+
<input
34+
id="email"
35+
type="email"
36+
required
37+
placeholder="Enter email here..."
38+
/>
39+
</label>
40+
41+
<h4>What is the reservation type?</h4>
42+
<select id="dropdown" class="input select">
43+
<option>Dinner</option>
44+
<option>Birthday</option>
45+
<option>Nightlife</option>
46+
<option>Wedding</option>
47+
<option>Corporate</option>
48+
<option>Other</option>
49+
</select>
50+
51+
<h4>Dietary Requirements</h4>
52+
<label>
53+
<input type="checkbox" name="recommend" value="vegetarian" />Vegetarian
54+
</label>
55+
<label>
56+
<input type="checkbox" name="recommend" value="vegan" />Vegan
57+
</label>
58+
<label>
59+
<input
60+
type="checkbox"
61+
name="recommend"
62+
value="gluten-free"
63+
/>Gluten-free
64+
</label>
65+
<label>
66+
<input type="checkbox" name="recommend" value="dairy-free" />Dairy-free
67+
</label>
68+
69+
<h4>Where would you like to sit?</h4>
70+
<label><input type="radio" name="where to sit" value="A" />Inside </label>
71+
<label
72+
><input type="radio" name="where to sit" value="B" />Outside
73+
Patio</label
74+
>
75+
76+
<label>
77+
<h4>Any special requests?</h4>
78+
<textarea class="input textarea" placeholder="Enter your comment here">
79+
</textarea>
80+
</label>
81+
<button id="submit" class="submit-button bg-green" type="submit">
82+
Make Reservation
83+
</button>
84+
</div>
85+
</body>
86+
</html>

0 commit comments

Comments
 (0)