Command Palette

Search for a command to run...

Hectal
Phase 4: Text and Typography
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

  1. The body uses a stack of at least two fonts ending in sans-serif
  2. The heading uses a stack ending in serif
  3. The paragraph inherits the body's font
  4. 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.