CSS Lists — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the CSS Lists lesson. Every one is checked automatically in the browser — write the code, run it, and the tests tell you what still fails.
Exercises(5)
- 1
Change the marker
easy10 minGive #list square markers.
- 2
Move the marker inside
easy10 minPut the markers inside the content box.
- 3
Remove the markers
easy10 minHide the markers on #list.
- 4
Use the shorthand
easy10 minSquare markers, positioned inside, in one declaration.
- 5
Reset a list
medium10 minNo markers and no indent — the usual navigation reset.
Find the bug(5)
- 1
Fix the misspelled value
easy8 minThe marker value is square.
- 2
Fix the wrong property
easy8 minMarker placement uses list-style-position.
- 3
Fix the hidden markers
easy8 minRemoving markers uses list-style-type, not display.
- 4
Fix the shorthand order
easy8 minThe marker type comes before the position.
- 5
Fix the leftover indent
easy8 minA list reset also needs the default padding removed.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace