-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
181 lines (175 loc) · 5.82 KB
/
index.html
File metadata and controls
181 lines (175 loc) · 5.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Food Ordering Application WK1</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="#">Foodie's Delight</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto mb-2">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#navbarNav"
>Home</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="#menu">Menu</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#orderForm">Order Now</a>
</li>
</ul>
</div>
</div>
</nav>
<section class="hero mb-3">
<div class="container-fluid">
<h1>Welcome to Foodie's Delight</h1>
<p>Delicious meals delivered to your doorstep!</p>
<a href="#menu" class="btn btn-primary">Explore Menu</a>
</div>
</section>
<section class="menu mb-3 text-center" id="menu">
<h2>Our Menu</h2>
<div class="grid d-flex justify-content-center align-items-stretch gap-4">
<div class="card" style="width: 18rem">
<img src="assets/burger.jpeg" class="card-img-top" alt="Burger" />
<div class="card-body">
<h5 class="card-title">Cheese Burger</h5>
<p class="card-text">$10.00</p>
</div>
</div>
<div class="card" style="width: 18rem">
<img src="assets/pasta.jpeg" class="card-img-top" alt="pasta" />
<div class="card-body">
<h5 class="card-title">Creamy Pasta</h5>
<p class="card-text">$12.00</p>
</div>
</div>
<div class="card" style="width: 18rem">
<img src="assets/pizza.jpeg" class="card-img-top" alt="pizza" />
<div class="card-body">
<h5 class="card-title">Pepperoni Pizza</h5>
<p class="card-text">$12.00</p>
</div>
</div>
</div>
</section>
<section
class="oderForm text-center bg-light mb-2"
id="orderForm"
style="padding-top: 20px"
>
<div class="container">
<h2>Order Now</h2>
<div class="form">
<form class="row g-2">
<div class="col-md-6">
<label for="inputName" class="form-label">Name</label>
<input
type="text"
class="form-control"
id="inputName"
placeholder="Enter your name"
/>
</div>
<div class="col-md-6">
<label for="inputEmail4" class="form-label">Email</label>
<input
type="email"
class="form-control"
id="inputEmail4"
placeholder="Enter your email"
/>
</div>
<div class="col-12">
<label for="inputAddress" class="form-label">Address</label>
<textarea
class="form-control"
name="inputAddress"
id="inputAddress"
rows="3"
placeholder="Enter your delivery address"
></textarea>
</div>
<div class="col-12">
<label for="inputState" class="form-label"
>Select Food Item</label
>
<select id="inputState" class="form-select">
<option selected>Choose an item...</option>
<option>Cheese Burger</option>
<option>Creamy Pasta</option>
<option>Pepperoni Pizza</option>
</select>
</div>
<div class="col-12">
<button type="submit" class="btn btn-success">Place Order</button>
</div>
</form>
</div>
</div>
</section>
<section
class="summary"
id="summary"
style="padding-top: 20px; padding-bottom: 40px"
>
<div class="container text-center mb-2">
<h2>Order Summary</h2>
</div>
<div class="container mb-4">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Food Item</th>
<th scope="col">Quantity</th>
<th scope="col">Price</th>
<th scope="col">Total</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Cheese Burger</td>
<td>2</td>
<td>$10.00</td>
<td>$20.00</td>
</tr>
</tbody>
</table>
</div>
</section>
<footer class="footer bg-dark text-white text-center">
© 2024 Foodie's Delight - MPortales. All rights reserved.
</footer>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
</body>
</html>