Build a Cat Blog Page
dev.to·16h·
Discuss: DEV
📝Markdown
Preview
Report Post

After spending time on freeCodeCamp working through a few theory lessons on specialised semantic elements, I was ready to tackle the next workshop: building a cat blog page. I think I’m going to enjoy this!

Tasked with utilising semantic HTML in a blog about Mr. Whiskers the cat, the first exercise in the workshop has you adding a header element to the HTML boilerplate I have shared below:

<!DOCTYPE html>
<html lang="en">
<head>
<title>Mr. Whiskers' Blog</title>
<meta charset="UTF-8" />
</head>
<body>

</body>
</html>

The next couple of steps sees you add an h1 element and then a figure element that displays an image of Mr. Whiskers. Of course, you should not use a figure element without an accompanying figcaption.

Across another two lessons you add a nav element with t…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help