Give a short recipe a proper outline.
What to build
A title, two sections, and a paragraph in each section.
Requirements
- One
h1readingLemon tea. - Two
h2headings, readingIngredientsandSteps, in that order. - One
punder eachh2, 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>