Mark a warning as important.
Acceptance criteria
- 1.Mark a warning as important.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <strong> 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 is used to define important or emphasized text that carries strong semantic meaning . Browsers typically render it in bold , but unlike the tag, it indicates that the enclosed text has greater importance or urgency in the context. It is useful for accessibility — screen readers will emphasize the text more strongly.” .
1.Mark something importantexercise · easy · 10 min
Mark a warning as important.
Passes when: Mark a warning as important.
2.Emphasise a deadlineexercise · easy · 10 min · practice plan
Mark the deadline as important.
Passes when: Mark the deadline as important.
3.Two important partsexercise · easy · 10 min · practice plan
Mark two important pieces in one sentence.
Passes when: Mark two important pieces in one sentence.
4.Important text in a listexercise · easy · 10 min · practice plan
Mark the important part of a list item.
Passes when: Mark the important part of a list item.
5.A safety noteexercise · medium · 10 min · practice plan
Write a note where only the key phrase is marked important.
Passes when: Write a note where only the key phrase is marked important.
6.Fix bold used for importancebug fix · easy · 8 min
Importance is strong; b is only visual.
Passes when: Importance is strong; b is only visual.
7.Fix the capital letters used to shoutbug fix · easy · 8 min · practice plan
Mark it up as important instead of shouting.
Passes when: Mark it up as important instead of shouting.
8.Fix the missing second markbug fix · easy · 8 min · practice plan
Both key words should be important.
Passes when: Both key words should be important.
9.Fix the emphasis used for importancebug fix · easy · 8 min · practice plan
em is stress, strong is importance.
Passes when: em is stress, strong is importance.
10.Fix the wrong sentence marked importantbug fix · easy · 8 min · practice plan
The instruction not to skip is the important part.
Passes when: The instruction not to skip is the important part.
Between them these tasks cover Importance, strong vs b and Screen readers.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.