Give #list square markers.
Acceptance criteria
- 1.Give #list square markers.
CSS Tutorial · CSS Lists, Tables & Forms
These 10 tasks go with the CSS Lists 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 CSS Lists properties are used to customize the appearance of ordered and unordered lists.” Read the chapter.
1.Change the markerexercise · easy · 10 min
Give #list square markers.
Passes when: Give #list square markers.
2.Move the marker insideexercise · easy · 10 min · practice plan
Put the markers inside the content box.
Passes when: Put the markers inside the content box.
3.Remove the markersexercise · easy · 10 min · practice plan
Hide the markers on #list.
Passes when: Hide the markers on #list.
4.Use the shorthandexercise · easy · 10 min · practice plan
Square markers, positioned inside, in one declaration.
Passes when: Square markers, positioned inside, in one declaration.
5.Reset a listexercise · medium · 10 min · practice plan
No markers and no indent — the usual navigation reset.
Passes when: No markers and no indent — the usual navigation reset.
6.Fix the misspelled valuebug fix · easy · 8 min
The marker value is square.
Passes when: The marker value is square.
7.Fix the wrong propertybug fix · easy · 8 min · practice plan
Marker placement uses list-style-position.
Passes when: Marker placement uses list-style-position.
8.Fix the hidden markersbug fix · easy · 8 min · practice plan
Removing markers uses list-style-type, not display.
Passes when: Removing markers uses list-style-type, not display.
9.Fix the shorthand orderbug fix · easy · 8 min · practice plan
The marker type comes before the position.
Passes when: The marker type comes before the position.
10.Fix the leftover indentbug fix · easy · 8 min · practice plan
A list reset also needs the default padding removed.
Passes when: A list reset also needs the default padding removed.
Between them these tasks cover list-style-type, Marker position and Resetting lists.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.