Write an ordered list with three steps.
Acceptance criteria
- 1.Write an ordered list with three steps.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <ol> 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 defines an ordered (numbered) list , and the tag defines individual list items within that list. Ordered lists are used when the sequence of items is important , such as steps in a process, rankings, or instructions.” .
1.Number the stepsexercise · easy · 10 min
Write an ordered list with three steps.
Passes when: Write an ordered list with three steps.
2.Start at another numberexercise · easy · 10 min · practice plan
Begin the numbering at 5.
Passes when: Begin the numbering at 5.
3.Use lettersexercise · easy · 10 min · practice plan
Number the list with lowercase letters.
Passes when: Number the list with lowercase letters.
4.Reverse the orderexercise · easy · 10 min · practice plan
Count the list down instead of up.
Passes when: Count the list down instead of up.
5.Steps inside a sectionexercise · medium · 10 min · practice plan
Put a numbered list inside a section with a heading.
Passes when: Put a numbered list inside a section with a heading.
6.Fix the bullet list used for stepsbug fix · easy · 8 min
Ordered steps need an ordered list.
Passes when: Ordered steps need an ordered list.
7.Fix the typed numbersbug fix · easy · 8 min · practice plan
Let the list do the numbering.
Passes when: Let the list do the numbering.
8.Fix the wrong attribute for the markerbug fix · easy · 8 min · practice plan
Marker style is set with type.
Passes when: Marker style is set with type.
9.Fix the missing reversed attributebug fix · easy · 8 min · practice plan
Counting down needs the reversed attribute.
Passes when: Counting down needs the reversed attribute.
10.Fix the list outside its sectionbug fix · easy · 8 min · practice plan
The steps belong under their heading.
Passes when: The steps belong under their heading.
Between them these tasks cover Ordered lists, start attribute and type attribute.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.