Mark a line that is no longer accurate.
Acceptance criteria
- 1.Mark a line that is no longer accurate.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <s> 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 in HTML is used to define text that is no longer correct, accurate, or relevant but should not be deleted. It visually renders text with a strikethrough line , similar to , but is meant for stylistic or factual changes rather than indicating document edits.” .
1.Mark outdated textexercise · easy · 10 min
Mark a line that is no longer accurate.
Passes when: Mark a line that is no longer accurate.
2.Mark an old priceexercise · easy · 10 min · practice plan
Mark a superseded price.
Passes when: Mark a superseded price.
3.Mark a completed taskexercise · easy · 10 min · practice plan
Mark a done item in a list.
Passes when: Mark a done item in a list.
4.Two outdated itemsexercise · easy · 10 min · practice plan
Mark two lines that no longer apply.
Passes when: Mark two lines that no longer apply.
5.A revised offerexercise · medium · 10 min · practice plan
Show the old price struck through and the new one beside it.
Passes when: Show the old price struck through and the new one beside it.
6.Fix the line-through stylebug fix · easy · 8 min
Use the element rather than a text-decoration style.
Passes when: Use the element rather than a text-decoration style.
7.Fix del used for an outdated pricebug fix · easy · 8 min · practice plan
Nothing was edited out; it is simply no longer current.
Passes when: Nothing was edited out; it is simply no longer current.
8.Fix the completed task left plainbug fix · easy · 8 min · practice plan
A done item should be struck through.
Passes when: A done item should be struck through.
9.Fix the second item not markedbug fix · easy · 8 min · practice plan
Both items are done.
Passes when: Both items are done.
10.Fix the new price not emphasisedbug fix · easy · 8 min · practice plan
The current price should stand out.
Passes when: The current price should stand out.
Between them these tasks cover No longer accurate, s vs del and Meaning.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.