Write an unordered list with three items.
Acceptance criteria
- 1.Write an unordered list with three items.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <ul> Tags 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 unordered (bulleted) list , while the tag defines individual list items within that list. Unordered lists are commonly used for displaying groups of items where the order doesn’t matter, such as menus, features, or simple lists.” .
1.Make a bullet listexercise · easy · 10 min
Write an unordered list with three items.
Passes when: Write an unordered list with three items.
2.A two-item listexercise · easy · 10 min · practice plan
Write a list with exactly two items.
Passes when: Write a list with exactly two items.
3.Nest a listexercise · easy · 10 min · practice plan
Put a second list inside a list item.
Passes when: Put a second list inside a list item.
4.A list inside a navexercise · easy · 10 min · practice plan
Put an unordered list inside a nav element.
Passes when: Put an unordered list inside a nav element.
5.A list with linksexercise · medium · 10 min · practice plan
Write a list where each item holds a link.
Passes when: Write a list where each item holds a link.
6.Fix the paragraphs used as a listbug fix · easy · 8 min
Bulleted items belong in a list.
Passes when: Bulleted items belong in a list.
7.Fix the divs inside the listbug fix · easy · 8 min · practice plan
A list contains list items, not divs.
Passes when: A list contains list items, not divs.
8.Fix the nested list placed outsidebug fix · easy · 8 min · practice plan
The sub-list belongs inside its parent item.
Passes when: The sub-list belongs inside its parent item.
9.Fix the nav with no listbug fix · easy · 8 min · practice plan
Navigation links are usually a list.
Passes when: Navigation links are usually a list.
10.Fix the links outside the itemsbug fix · easy · 8 min · practice plan
Each link belongs inside its own list item.
Passes when: Each link belongs inside its own list item.
Between them these tasks cover Unordered lists, List items and Nesting.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.