Skip to content

Commit

Permalink
change background color and insert div element
Browse files Browse the repository at this point in the history
gitfaizankhan committed May 22, 2024
1 parent 2b5dc60 commit 6ead15a
Showing 2 changed files with 16 additions and 9 deletions.
19 changes: 11 additions & 8 deletions Cafe Menu/index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cafe Menu</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
<div id="menu">
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</div>
</body>
</html>
6 changes: 5 additions & 1 deletion Cafe Menu/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
h1{
body {
background-color: burlywood;
}

h1, h2, p {
text-align: center;
}

0 comments on commit 6ead15a

Please sign in to comment.