-
Notifications
You must be signed in to change notification settings - Fork 9
/
order.html
98 lines (90 loc) · 3.11 KB
/
order.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pizza Store</title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<!-- Navbar -->
<nav>
<div class="logo">Pizza Store</div>
<ul>
<li><a class="nav-link" href="index.html">Home</a></li>
<li><a class="nav-link" href="#">About</a></li>
<li><a class="nav-link" href="#">Menu</a></li>
<li><a class="nav-link" href="#">Contact Us</a></li>
</ul>
</nav>
<h2 id="welcome-message">Welcome</h2>
<!-- Banner -->
<div class="banner">
<h1 id="banner-text">Delicious Pizzas, Anytime!</h1>
</div>
<!-- Order Form Section -->
<section class="order-form">
<h2>Order Your Pizza</h2>
<form id="pizza-order-form">
<!-- Name field -->
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required />
<!-- Phone field -->
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone" placeholder="Enter your phone number" required />
<label for="pizza-type">Choose your pizza:</label>
<select id="pizza-type" name="pizza-type">
<option value="margherita">Margherita</option>
<option value="pepperoni">Pepperoni</option>
<option value="bbq">BBQ Chicken</option>
<option value="veggie">Veggie</option>
</select>
<!-- Size selection with radio buttons -->
<label>Size:</label>
<div class="radio-group">
<input type="radio" id="small" name="pizza-size" value="small" checked />
<label for="small">Small</label><br />
<input type="radio" id="medium" name="pizza-size" value="medium" />
<label for="medium">Medium</label><br />
<input type="radio" id="large" name="pizza-size" value="large" />
<label for="large">Large</label>
</div>
<label for="toppings">Extra Toppings:</label>
<div class="checkbox-group">
<input type="checkbox" name="topping" value="cheese" /> Extra Cheese
<br />
<input type="checkbox" name="topping" value="olives" /> Olives <br />
<input type="checkbox" name="topping" value="mushrooms" /> Mushrooms
</div>
<button type="submit" id="order-now">Order Now</button>
<p id="thank-you-msg" style="display:none;">Thank you for your order!</p>
</form>
</section>
<!-- Store Info Section -->
<section class="store-info">
<div>
<h3>Hours</h3>
<p>Mon - Fri: 10:00 AM - 10:00 PM</p>
<p>Sat - Sun: 11:00 AM - 11:00 PM</p>
</div>
<div>
<h3>Location</h3>
<p>123 Pizza Lane, Food Town</p>
<p>Call: (123) 456-7890</p>
</div>
<div>
<h3>Specialty</h3>
<p>
We offer a variety of pizzas, sides, and drinks. Try our famous
Pepperoni pizza and Chicken BBQ pizza!
</p>
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2024 Pizza Store. All Rights Reserved.</p>
</footer>
<!-- Linking JS -->
<script src="script.js"></script>
</body>
</html>