After this lesson, you will be able to: Combine HTML, CSS, and JavaScript into a complete, original multi-page website that you have built end to end.
This lesson is your first real project. You'll plan, build, and ship a multi-page website using everything from the past four lessons. It will be small but complete, and it's the project you can show people when they ask what you've built.
Good first projects share three traits: you can finish them in a weekend, they have at least two pages, and they include some interactive behavior. Examples: a personal portfolio site (home, projects, contact), a fan page for a hobby, a recipe directory, or a study tool with a quiz.
Spend 15 minutes on this before writing a single line.
Pick the topic, write one sentence describing the site's purpose
Sketch the pages, draw boxes labeled "Home", "About", etc.
List the components, header, footer, nav, cards, form, etc.
Decide what's interactive, what should the user be able to click or type?
Pick a color palette, coolors.co generates one in seconds
Keep things organized from day one, it scales as the project grows.
my-site/├── index.html # Home page├── about.html├── contact.html├── styles/│ └── main.css # Shared styles├── scripts/│ └── main.js # Shared scripts└── images/└── logo.png
Copy this header into every HTML page. The active page link can be highlighted with a class.
<header><nav><a href="index.html">Home</a><a href="about.html">About</a><a href="contact.html" class="active">Contact</a></nav></header>
Don't try to perfect each step. Make it work, then polish.
Set up the folder structure and link your CSS/JS to each HTML page
Write the HTML for every page first (no styling yet)
Add the shared header and footer to all pages
Write global CSS, typography, color palette, container width
Style each page section by section
Add one interactive feature with JS (form validation, toggle, counter, etc.)
Test in DevTools mobile view, fix anything that breaks on small screens
There's a maintenance reason and a performance reason.
Sign in and purchase access to unlock this lesson.