-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (75 loc) · 2.41 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="index.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Food Blog</title>
<style>
#topbar{
background-color: rgb(43, 221, 138);
padding: 24px;
font-size: 34px;
}
.menu-item{
font-size: 30px;
padding: 10px;
font-weight: 700;
}
#list-heading{
font-size:20px;
padding-left: 25px;
}
.food-item{
font-size: 20px;
}
.food-image{
padding-top: 125px;
width: 675px;
height: 330px;
}
.food-wrapper{
text-align: center;
}
</style>
</head>
<body style="margin:0; background-color:rgb(172, 235, 136)">
<div id="topbar">
<span>Home</span>
<span><a href="table.html">Table</a></span>
<span><a href="form.html">Form</a></span>
<span>Contact</span>
</div>
<div>
<h2 id="list-heading">Favourite food list</h2>
<ul style="">
<li><a class="food-item" href="#Grilled-Chicken">Grilled Chicken</a></li>
<li><a class="food-item" href="#Steak">Steak</a></li>
<li><a class="food-item" href="#Kebab">Kebab</a></li>
<li><a class="food-item" href="#Chap">Chap</a></li>
<li><a class="food-item" href="#Tandoori-Chicken">Tandoori Chicken</a></li>
</ul>
</div>
<div class="food-wrapper">
<img id="Grilled-Chicken" class="food-image" src="images/grilledchicken.jpg" alt="Grilled Chicken">
<p>Grilled Chicken</p>
</div>
<div class="food-wrapper">
<img id="Steak"class="food-image" src="images/steak.jpg" alt="Steak">
<p>Steak</p>
</div>
<div class="food-wrapper">
<img id="Kebab" class="food-image" src="images/kebab.jpg" alt="Kebab">
<p>Kebab</p>
</div>
<div class="food-wrapper">
<img id="Chap" class="food-image" src="images/beefchap.jpg" alt="Beef Chap">
<p>Chap</p>
</div>
<div class="food-wrapper">
<img id="Tandoori-Chicken" class="food-image" src="images/tandoorichicken.jpg" alt="Tandoori Chicken">
<p>Tandoori Chicken</p>
</div>
</body>
</html>