CSS User Interface — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the CSS User Interface 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
Show a hand cursor
easy10 minGive #btn a pointer cursor.
- 2
Show a not-allowed cursor
easy10 minGive #input a not-allowed cursor.
- 3
Stop the resizing
easy10 minPrevent #area from being resized.
- 4
Block text selection
easy10 minStop #label's text being selected.
- 5
Make an element inert
medium10 minLet clicks pass straight through #label.
Find the bug(5)
- 1
Fix the invalid cursor
easy8 minThe value for a hand cursor is pointer.
- 2
Fix the missing hyphen
easy8 minThe value is not-allowed.
- 3
Fix the resize value
easy8 minPreventing resizing uses none.
- 4
Fix the wrong property
easy8 minBlocking selection uses user-select.
- 5
Fix the clicks that still land
easy8 minHiding is not the same as passing clicks through.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace