Wrap a blog post in an article.
Acceptance criteria
- 1.Wrap a blog post in an article.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <article> Tag chapter. 5 of them ask you to build something small from scratch; 5 give you code that is already broken and ask you to work out why. Set aside about 90 minutes for the whole set, though you can do them in any order.
Nothing here is marked by a person. When you press Submit, the editor checks your code against the points listed under each task and tells you straight away what passed and what didn't (you need a free account to submit). If you get stuck, there are hints, and a worked solution once you've had a go. The first 2 tasks are free; the rest are part of the practice plan.
If it's been a while since you read the chapter, here is how it starts: “The tag represents self-contained content that can be independently distributed or reused, such as a blog post, news article, or forum post. It typically contains headings, paragraphs, images, and other related content . is ideal for content that makes sense on its own , even outside the context of the page.” .
1.Wrap a postexercise · easy · 10 min
Wrap a blog post in an article.
Passes when: Wrap a blog post in an article.
2.Two postsexercise · easy · 10 min · practice plan
Add two separate articles.
Passes when: Add two separate articles.
3.Article with a headerexercise · easy · 10 min · practice plan
Give the article a header holding its title.
Passes when: Give the article a header holding its title.
4.Article with a footerexercise · easy · 10 min · practice plan
Add a footer with the author's name.
Passes when: Add a footer with the author's name.
5.A complete postexercise · medium · 10 min · practice plan
Build an article with a header, body and footer.
Passes when: Build an article with a header, body and footer.
6.Fix the div used for a postbug fix · easy · 8 min
A standalone post is an article.
Passes when: A standalone post is an article.
7.Fix the two posts in one articlebug fix · easy · 8 min · practice plan
Each post is its own article.
Passes when: Each post is its own article.
8.Fix the title outside the articlebug fix · easy · 8 min · practice plan
The post's title is part of the post.
Passes when: The post's title is part of the post.
9.Fix the byline as a paragraph outsidebug fix · easy · 8 min · practice plan
The author line belongs in the article's footer.
Passes when: The author line belongs in the article's footer.
10.Fix the article with no footerbug fix · easy · 8 min · practice plan
The post has no attribution.
Passes when: The post has no attribution.
Between them these tasks cover Self-contained content, Blog posts and Syndication.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.