Level 2 · Web Development Basics · Course 2.3 Introduction to JavaScript
Module 20: Your First Interactive Website
Goal: find and fix problems with the browser's tools, test your site properly, and publish it on the internet, completing the website you've built through Level 2.
You'll need: your site from Module 19, pushed to GitHub (Module 10).
Lessons
- 1Reading errors15–25 minutes✓
- 2Debugging with the browser's tools15–25 minutes✓
- 3Testing your site15–25 minutes✓
- 4Publishing your site15–25 minutes✓
- 5Frontend and backend, and what comes next15–25 minutes✓
🛠️Module practice: finish and check
- Fix every console error and Lighthouse warning you can.
- Complete your
TESTING.mdchecklist on desktop and phone. - Publish the site and test the live version.
- Ask one person to use it while you watch, and fix one thing they struggled with.
🛠️Level 2 final project: Build and Publish Your First Website
You now have everything you need for the Level 2 project (6 to 10 hours). Build a website for a portfolio, a small business, an education project or a community group, with:
- At least three linked pages with semantic HTML.
- Alt text on every meaningful image.
- Navigation and a footer on every page.
- One external stylesheet, using Flexbox or Grid.
- A responsive layout that works from phone to desktop.
- A form with browser validation (it doesn't need to send data yet; that's Level 4).
- At least two JavaScript interactions.
- Accessibility and error testing, written down in
TESTING.md. - A Git history of small, clear commits.
- Published online.
✅Module check
Explain in a few sentences, in your own words:
How do you find and fix a bug, and what's the difference between the frontend you've built and a backend?
Show a good answer
A good answer mentions: reproduce the problem, read the first console error and its line, check real values
with console.log or breakpoints, test one guess at a time, and make the smallest fix; then retest with a
checklist. The frontend runs in the visitor's browser and controls what they see and do; the backend runs on a
server and handles what must be trusted or kept: storing data, logins, secrets, emails and final validation.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
