Command Palette

Search for a command to run...

Hectal
Phase 1: HTML Basics: Elements and Text
HTML · Exercise 1 of 5Next
Beginner

Mark up a library notice

The starter has the text of a notice with no HTML. Turn it into a proper page:

Library notice is the main heading (<h1>) and Opening hours is a section heading (<h2>) below it.

The library is closed on Sunday. is a paragraph, and the whole sentence is important, so mark it with <strong>.

The two timing lines go in one paragraph, each on its own line.

What Check tests

  1. There is one <h1> that says Library notice
  2. There is an <h2> that says Opening hours
  3. The <h2> comes after the <h1>
  4. The Sunday warning is inside <strong> in a paragraph
  5. Both timing lines are in one paragraph, split by a line break

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.