5 hands-on exercises and 5 find-the-bug challenges for the CSS Font Size lesson. Every one is checked automatically in the browser — write the code, run it, and the tests tell you what still fails.
Make #text 24px.
Make #title 32px.
With a 16px root, set #text to 1.5rem.
With #wrap at 20px, set #text to 1.5em.
32px heading over 16px body text.
A font size needs a unit.
The property is font-size.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace1.5rem against a 16px root should be 24px.
The root should be 16px so 1.5rem lands on 24px.
The heading should be larger than the body text.