Lesson 51 of 51 · Module 7, lesson 11 of 11 · 4 min

Final project: your complete website

Plan, build and check a three-page website that uses everything in this course.

What you'll learn

  • What the final project asks for
  • A step-by-step plan to build it
  • How to check it before you hand it in

Why this matters

You have learned each part of HTML on its own. Real websites combine all of them. This project brings everything together into one small website that is correct, accessible, and ready for CSS and JavaScript. It is also the first thing for your portfolio.

The brief

Build a website of three pages about a topic you care about: your cooking, your hobby, your town, a cause, or yourself.

  1. index.html — Home. Introduces the site, with an image and links to the other pages.
  2. A content page — for example recipes.html or projects.html. At least two articles, each with a heading, a figure with a caption, and a list or a table.
  3. contact.html — Contact. A form with at least four fields of different types, a group of radio buttons or checkboxes, validation, and a submit button.

Requirements on every page

  • The full skeleton: doctype, lang, charset first, viewport, a unique title in the form Page — Site, and a meta description.
  • A favicon.
  • The same <header> with the site name and a <nav> list linking all three pages; one <main>; the same <footer>.
  • One <h1>; headings without gaps.
  • Relative paths only, in lower case, with images in images/.
  • A stylesheet connected with <link> (the file may be empty for now — it is ready for the CSS course).
  • No validator errors.

A plan that works

  1. Plan on paper (10 minutes). Write the three page titles, and under each one, its headings. This is your outline.
  2. Make the folders: images, css, and, if you use them, media.
  3. Build index.html completely — head, header, nav, main, footer. Check it.
  4. Copy it to make the other two pages, then change the title, description and main content.
  5. Add content one section at a time. Save and look after each one (use Live Server).
  6. Build the form last, and test it with the keyboard.
  7. Check everything with the list below.

The final checklist

Run these on every page:

  • The validator shows no errors.
  • Every link and image works when opened with Live Server.
  • The keyboard test: you can reach everything with Tab and always see where you are.
  • The heading outline makes sense.
  • Every image has a fitting alt (or alt="" for decoration).
  • Every form field has a connected label, and required fields say so in words.
  • Every page has one <main> and a unique title.

Try it yourself

Start now: write your three page titles and their headings on paper, and create the folders. Then open the final project exercise below this lesson and follow the plan.

Common mistakes

  • Starting with the looks. Colours and layout are for the CSS course. Fix: finish correct HTML first.
  • Building all three pages at once. Mistakes are copied three times. Fix: finish and check one page, then copy it.
  • Checking only at the end. Fix: save, look and validate after each section.

Check yourself

  1. Which page should you finish first, and why?
  2. Name three things to check before you hand in the project.
  3. Where do colours and layout come from?

Answers

  1. index.html — finish and check it completely, then copy it for the other pages so that shared parts are already correct.
  2. Any three from the checklist: the validator, links and images, the keyboard test, the outline, alt texts, labels, one <main> and unique titles.
  3. From CSS, in the next course.

Next: build your website in the final project exercise. When it is done, you are ready for CSS — and your mentor can help you put it online.

Final project

your complete website

Goal: a three-page website that is valid, accessible and ready for CSS. Follow the brief and the plan in Final project: your complete website.

Your website after this module

Outcome: a finished, valid and accessible three-page website that is yours, ready to style in the CSS course and to show in your portfolio.

Your my-website folder: index.html, your content page (built from recipe.html), contact.html (built from signup.html), and any other pages you keep linked, such as about.html and plan.html.

Use the topic you chose in module 1. This is the site you style, page by page, in the CSS course.

Warm up first (optional): Project: Your One-Page Portfolio in Work Space, if it is in your menu. Work Space checks your code at once, so you know you are ready before you build.

What to hand in

Build the three pages in your my-website folder:

  1. index.html — Home, with an image and links to the other pages.
  2. A content page (for example recipes.html) — at least two articles, each with a heading, a figure with a caption, and a list or a table.
  3. contact.html — a form with at least four fields of different types, a radio or checkbox group in a fieldset, validation, and a submit button.

On every page: the full skeleton with a unique title and description, a favicon, a linked stylesheet, the same header with a nav list, one main, the same footer, and relative paths only.

How to submit

Paste the code of all three pages into the box below, one after the other, each starting with a comment such as <!-- index.html -->. At the end, add a comment with:

  • one thing you are proud of;
  • one thing that was hard;
  • confirmation that each page shows no errors in the W3C validator.

Checklist before you submit

  • No validator errors on any page.
  • Every link and image works with Live Server.
  • You can use every page with only the keyboard.
  • Headings make a clear outline; one <h1> per page.
  • Every image has a fitting alt; every field has a label.

Your mentor reviews every submission and will go through it with you in your next session. The project counts as done when it is marked Passed.

Starter code

html
<!-- index.html -->


<!-- recipes.html (or your content page) -->


<!-- contact.html -->


<!--
  Proud of:
  Hard:
  Validator: no errors on all three pages (yes / no)
-->

Build it in your own folder, on your computer. ZAM students hand this project in on their dashboard, and their mentor reviews it.

Chat with us on WhatsApp