Command Palette

Search for a command to run...

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

Give a div page real landmarks

This page is built only from divs. Rebuild it with semantic elements, keeping the same content:

a header that contains the site name and a nav with the links; one main with the article (its title as an h1); an aside for the tip; and a footer for the copyright line.

You may keep the class names on the new elements so the CSS still works.

What Check tests

  1. A header contains a nav with the three links
  2. There is exactly one main
  3. The article title is an h1 inside main
  4. The tip is in an aside
  5. The copyright line is in a footer
  6. No layout divs are left

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.