Skip to content

Commit 6949129

Browse files
committed
lesson 1 & 2 solutions
1 parent 8bf51cc commit 6949129

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

02-html-headings/exercise.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ Create a webpage with the following structure:
88
5. A `<h5>` for the item "Maple Syrup".
99
6. A `<h6>` for the item "More bacon".
1010

11+
Bonus: add a title "HTML Headings"
12+
1113
Save your file as `exercise.html`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html> <!-- Point 1 -->
2+
<html>
3+
<head>
4+
<title>Intro to HTML</title> <!-- Point 2 -->
5+
</head>
6+
<body>
7+
<h1>Learning HTML Structure</h1> <!-- Point 3 -->
8+
<p>This is my first step in coding!</p> <!-- Point 4 -->
9+
</body>
10+
</html>
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Intro to HTML</title> <!-- Bonus -->
5+
</head>
6+
<body>
7+
<h1>My Favorite Foods</h1> <!-- Point 1 -->
8+
<h2>Breakfast</h2> <!-- Point 2 -->
9+
<h3>Pancakes</h3> <!-- Point 3 -->
10+
<h4>Bacon</h4> <!-- Point 4 -->
11+
<h5>Maple Syrup</h5> <!-- Point 5 -->
12+
<h6>More bacon</h6> <!-- Point 6 -->
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)