-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe_website.html
More file actions
161 lines (154 loc) · 3.7 KB
/
recipe_website.html
File metadata and controls
161 lines (154 loc) · 3.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Food Recipes</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f2f2f2;
}
header,
footer {
background-color: #ffcccc;
padding: 20px;
text-align: center;
}
nav {
background-color: #ffcccc;
padding: 10px;
text-align: center;
}
section {
padding: 20px;
}
.container {
max-width: 800px;
margin: auto;
}
h1,
h2 {
color: #333;
}
p {
color: #666;
line-height: 1.6;
}
img {
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
iframe {
width: 100%;
height: 700px;
display: block;
margin: auto;
margin-bottom: 40px;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
th,
td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #ffcccc;
}
footer {
position: sticky;
bottom: 0%;
width: 100%;
height: 5%;
}
</style>
</head>
<body>
<header>
<h1>Delicious Recipes</h1>
</header>
<nav>
<a href="#about">About</a> | <a href="#recipes">Recipes</a> |
<a href="#contact">Contact</a>
</nav>
<section id="about" class="container">
<h2>About Us</h2>
<p>
Welcome to our food recipes website! We offer a variety of delicious
recipes for you to try at home.
</p>
<img src="khadijaaa.jpg" alt="Chef preparing food" />
</section>
<section id="recipes" class="container">
<h2>Recipes</h2>
<h3>Breakfast</h3>
<ul>
<li>Pancakes</li>
<li>French Toast</li>
<li>Omelette</li>
</ul>
<h3>Lunch</h3>
<ol>
<li>Spaghetti</li>
<li>Chicken Caesar Salad</li>
<li>Vegetable Soup</li>
</ol>
<h3>Dinner</h3>
<table>
<caption>
Dinner Recipes
</caption>
<tr>
<th>Recipe</th>
<th>Preparation Time</th>
</tr>
<tr>
<td>Italian Pizza</td>
<td>30 minutes</td>
</tr>
<tr>
<td>Beef Steak</td>
<td>25 minutes</td>
</tr>
<tr>
<td>Lasagna</td>
<td>40 minutes</td>
</tr>
</table>
</section>
<section id="contact" class="container">
<h2>Contact Us</h2>
<form action="#" method="post">
<label for="name">Name:</label><br />
<input type="text" id="name" name="name" required /><br />
<label for="email">Email:</label><br />
<input type="email" id="email" name="email" required /><br />
<label for="message">Message:</label><br />
<textarea id="message" name="message" rows="4" required></textarea
><br />
<input type="submit" value="Submit" />
</form>
</section>
<iframe
controls
src="https://www.youtube.com/embed/mHipexNOAq4?si=ZbQ5gmtBSv7zM6r1"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
></iframe>
<footer>
<p>© 2024 Delicious Recipes. All rights reserved.</p>
</footer>
</body>
</html>