Outline a recipe

Give a short recipe a proper outline.

What to build

A title, two sections, and a paragraph in each section.

Requirements

  • One h1 reading Lemon tea.
  • Two h2 headings, reading Ingredients and Steps, in that order.
  • One p under each h2, with any text.

Constraints

Do not use h3 or lower levels.

Example

The outline reads: Lemon tea, then Ingredients, then Steps.

Why it works

One h1 names the page and each h2 starts a section, so the outline matches the way a person reads a recipe.

Hints

Hint 1

The recipe name is the h1. The two sections are h2.

Solution

Show one correct solution (try it yourself first)
<h1>Lemon tea</h1>
<h2>Ingredients</h2>
<p>Tea, lemon and sugar.</p>
<h2>Steps</h2>
<p>Brew the tea, then add lemon.</p>

Lesson: Headings, paragraphs and text →