Skip to content

Commit 6ead15a

Browse files
committed
change background color and insert div element
1 parent 2b5dc60 commit 6ead15a

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

Cafe Menu/index.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
56
<title>Cafe Menu</title>
67
<link rel="stylesheet" href="style.css">
78
</head>
89
<body>
9-
<main>
10-
<h1>CAMPER CAFE</h1>
11-
<p>Est. 2020</p>
12-
<section>
13-
<h2>Coffee</h2>
14-
</section>
15-
</main>
10+
<div id="menu">
11+
<main>
12+
<h1>CAMPER CAFE</h1>
13+
<p>Est. 2020</p>
14+
<section>
15+
<h2>Coffee</h2>
16+
</section>
17+
</main>
18+
</div>
1619
</body>
1720
</html>

Cafe Menu/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
h1{
1+
body {
2+
background-color: burlywood;
3+
}
4+
5+
h1, h2, p {
26
text-align: center;
37
}

0 commit comments

Comments
 (0)