Coding Lesson
Your final website
Plan your final website
Your goal: Choose a clear purpose and sketch your page.
Learn
A useful website begins with a clear reader and a manageable purpose. In this lesson you will plan the final version of your hobby page before adding more code. Your plan should tell you what belongs on the page, what can wait, and how you will know it works.
Walkthrough: why the code works
Choose one reader and one outcome
Write a sentence naming who the page helps and what they can do after reading it. For example: This page helps someone with a small balcony prepare their first herb pot. This is more useful for making decisions than a broad topic such as Everything about gardening.
Plan two sections that answer real questions
Give each section a working heading and write the main points underneath. Equipment can explain what to gather; Planting steps can explain the sequence. Use your own knowledge and words. If you need to verify a claim, check a reliable source rather than filling the page with guesses.
Audience: a first-time balcony gardener Purpose: prepare a first herb pot Section 1: Equipment — what each item is for Section 2: Planting steps — what to do in order Useful link: a checked resource for further practice Interaction: show or hide one extra care tipGive the interaction a purpose
Choose one feature you can build with the lessons already completed. A show-and-hide tip can keep optional advice near the relevant step. A counter can track a practice action during the visit, but the simple counter does not persist after a reload. Write the starting state, the action and the expected result.
Sketch a reading order before a layout
Sketch header, introduction, two sections and footer on paper or in notes. Put the main information first. Plan a single column on a phone; two related sections can use the Grid pattern on wider screens. The page should remain understandable in its HTML order without relying on columns.
Turn the plan into acceptance checks
List what you will check in lesson 17: two relevant sections, a working descriptive link, readable colours, a useful interaction, and a narrow layout that fits. Note any image you intend to use and whether you have permission. Open your saved hobby page and identify which parts already meet the plan. Download a backup before rebuilding.
Expected results
Your written plan identifies a reader, a specific purpose and two distinct sections.
You can describe the interaction’s starting state and result without referring to the code.
You have a short list of testable requirements and know which existing project file you will continue.
Common mistakes and how to fix them
The project grows into several unrelated tools: Keep one page and one useful interaction for this milestone. Record extra ideas separately for later practice.
The plan contains only colours and fonts: Write the reader’s questions and section content first. Appearance supports the content but does not replace it.
The starter is mistaken for the finished project: It is a minimal fallback. Continue your saved hobby page through Open HTML file so earlier work is not lost.
View starter code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My hobby page</title>
<style></style>
</head>
<body>
<h1>My hobby</h1>
<p>I enjoy learning something new.</p>
</body>
</html>Your challenge
Write a plan: audience, title, two sections, one useful link, and one interaction. Start from your saved hobby page.
Keep developing your hobby page: Download HTML before leaving the sandbox, then choose Open HTML file when returning to your project. Load saved draft restores only this lesson’s draft in this browser.
Practise in the sandboxShow a hint
A gardening page could explain equipment and planting, with a button showing a daily tip.
Show a sample answer
Try the challenge first. This is one possible answer or a snippet to adapt.
Audience: first-time gardeners. Sections: Equipment and Planting steps. Interaction: Show a daily tip. Layout: one column on phones, two on wider screens.Check your work
You can explain who the site is for and what each section does.
Completion is your own check, not an automatic grade.
