Modern Form Styling — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the Modern Form Styling 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
Tint the checkbox
easy10 minGive #check a red accent colour.
- 2
Strip the native look
easy10 minRemove the built-in styling from #input.
- 3
Size a field to its content
easy10 minLet #input grow with what is typed.
- 4
Colour the caret
easy10 minMake the caret in #area navy.
- 5
Theme a control set
medium10 minRed accent on the checkbox, rounded and padded input.
Find the bug(5)
- 1
Fix the wrong property
easy8 minNative control tinting uses accent-color.
- 2
Fix the invalid value
easy8 minRemoving native styling uses the value none.
- 3
Fix the misspelled property
easy8 minThe property is field-sizing.
- 4
Fix the caret on the wrong element
easy8 minThe textarea should get the navy caret.
- 5
Fix the accent on the wrong control
easy8 minThe accent was applied to the text input instead of the checkbox.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace