For five lessons the blocks have written the HTML and you have read it. Today you write it.
Getting started: open the builder on the next step. It has a small practice page in it, not your project, so nothing you do today can damage the site you just finished.
One thing to know first: the moment you type in the HTML tab, your typing becomes the page and the blocks stop changing it. The builder says so on screen. That is the same move you will make again in Strand 3 when blocks become Python.
You already know this shape. Today you type it.
Look at where each closing tag sits here:
<h1>My page</h1>
<p>One sentence.</p>
<ul>
<li>First thing</li>
<li>Second thing</li>
</ul>
Start with the safest edit there is: the words, not the tags.
Notice the notice: the builder is telling you the code is in charge now. That is expected.
Only the part between the tags changed:
<h1>All about my dog</h1>Now type a tag from nothing.
Now break it on purpose: delete the slash from your closing tag and look at the preview. Put it back. That is the mistake you will make by accident later, so make it once on purpose now.
What you are typing:
<p>My dog is called Rua and he is very fast.</p>Last piece: nesting. A list is a tag holding other tags.
Every item closes before the list does. Line them up as you type and it is much harder to lose track:
<ul>
<li>Chases seagulls</li>
<li>Steals socks</li>
<li>Sleeps on the good chair</li>
</ul>You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.