-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (56 loc) · 2.82 KB
/
Copy pathindex.html
File metadata and controls
65 lines (56 loc) · 2.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A mock app for reserving a table at a restaurant.">
<meta name="keywords" content="HellenicDev, programming, HTML, CSS, JS, open-source, restaurant, reservation, e-table">
<meta name="author" content="HellenicDev">
<meta name="theme-color" content="#19336e">
<meta property="og:title" content="HellenicDev — E-Table">
<meta property="og:description" content="Reserve a table at your favorite restaurant.">
<meta property="og:image" content="https://hellenicdev.github.io/logo.webp">
<meta property="og:url" content="https://hellenicdev.github.io">
<meta property="og:type" content="website">
<title>E-Table — Restaurant Reservation</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a href="/" aria-label="Home">
<img src="https://hellenicdev.github.io/logo.webp" alt="HellenicDev logo" class="site-logo">
</a>
<main class="container">
<h1>Restaurant Reservation</h1>
<section id="restaurantMenu" class="menu">
<h2>Choose a Restaurant</h2>
<button class="restaurantButton" data-restaurant="Restaurant 1">Restaurant 1</button>
<button class="restaurantButton" data-restaurant="Restaurant 2">Restaurant 2</button>
<button class="restaurantButton" data-restaurant="Restaurant 3">Restaurant 3</button>
<button class="restaurantButton" data-restaurant="Restaurant 4">Restaurant 4</button>
</section>
<section id="dateTimeSection" class="hidden">
<h2>Select a Date and Time</h2>
<input type="date" id="reservationDate" required>
<input type="time" id="reservationTime" required>
<button id="enterButton">Enter</button>
</section>
<section id="reservationInfoSection" class="hidden">
<h2>Your Details</h2>
<label for="reservationName">Name</label>
<input type="text" id="reservationName" placeholder="Your Name" required>
<label for="reservationEmail">Email</label>
<input type="email" id="reservationEmail" placeholder="your@email.com" required>
<button id="submitReservation">Submit Reservation</button>
</section>
<section id="confirmationMessage" class="hidden confirmation">
<button id="backButton" class="backButton" aria-label="Go back">← Back</button>
<h2>Reservation Confirmed!</h2>
<p id="confirmationDetails"></p>
</section>
</main>
<footer class="site-footer">
© 2025-2026 HellenicDev — All projects and content belong to HellenicDev.
</footer>
<script src="script.js"></script>
</body>
</html>