Command Palette

Search for a command to run...

Hectal
Phase 2: Structure and Semantics
HTML · Exercise 3 of 6 PreviousNext
Beginner

Repair a broken heading outline

This travel guide picked its headings by size. Fix the levels so the outline makes sense:

one h1 (Goa travel guide); Where to stay and What to eat as chapters; Budget and Luxury as sub-parts of Where to stay; Fish curry as a sub-part of What to eat. No skipped levels.

Keep the heading texts exactly as they are. If you want smaller headings, that's a CSS job.

What Check tests

  1. There is exactly one h1, saying Goa travel guide
  2. No heading skips a level going down
  3. Where to stay and What to eat are h2 chapters
  4. Budget, Luxury and Fish curry are h3 sub-parts
  5. All six headings are still there

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.