CSS · Exercise 1 of 5Next
Beginner
Give the page a font stack
Give the whole page a sans-serif font stack on body with at least one named font and the generic sans-serif at the end.
Give the h1 its own serif stack ending in serif.
Make the button use the same font as the page instead of the browser's control font.
What Check tests
- The body uses a stack of at least two fonts ending in
sans-serif - The heading uses a stack ending in
serif - The paragraph inherits the body's font
- The button uses the page font
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
Runs in your browser. Your code is saved here.
Your page
Press Run to see the page.
Console
Nothing logged yet.