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.
index.html— Home. Introduces the site, with an image and links to the other pages.- A content page — for example
recipes.htmlorprojects.html. At least two articles, each with a heading, a figure with a caption, and a list or a table. 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 formPage — 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
- Plan on paper (10 minutes). Write the three page titles, and under each one, its headings. This is your outline.
- Make the folders:
images,css, and, if you use them,media. - Build
index.htmlcompletely — head, header, nav, main, footer. Check it. - Copy it to make the other two pages, then change the title, description and main content.
- Add content one section at a time. Save and look after each one (use Live Server).
- Build the form last, and test it with the keyboard.
- 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
Taband always see where you are. - The heading outline makes sense.
- Every image has a fitting
alt(oralt=""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
- Which page should you finish first, and why?
- Name three things to check before you hand in the project.
- Where do colours and layout come from?
Answers
index.html— finish and check it completely, then copy it for the other pages so that shared parts are already correct.- Any three from the checklist: the validator, links and images, the keyboard test, the outline, alt texts, labels, one
<main>and unique titles. - 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.
your complete website
Starter code
Build it in your own folder, on your computer. ZAM students hand this project in on their dashboard, and their mentor reviews it.
