Command Palette

Search for a command to run...

Hectal
Phase 0: Start Here: What CSS Is
CSS · Exercise 4 of 5 PreviousNext
Beginner

Make the theme win by order

This page has a reset in a <style> element and a theme in a linked stylesheet. Right now the reset is later, so it undoes the theme's purple heading.

Without changing any rule, selector or value, move things in the head so the theme wins. The reset's body { margin: 0; } must still apply.

What Check tests

  1. The heading is purple
  2. The reset still removes the body margin
  3. The reset rule for h1 is still there, unchanged
  4. No inline styles were used

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.