<Mini Apps & Websites/>
Learn what a web page is made of, ask Claude to build a tiny one, test it, fix it and share it safely.
Your editor tabs
Chapter 2 at a glance
2.1 What is a web page?
🎯 Goal: know the three building blocks of a page- A web page is made of text that a browser reads and draws.
- HTML is the structure: headings, paragraphs, buttons.
- CSS is the style: colours, sizes and layout.
- JavaScript makes things move or react. You do not need to write it, just know it exists.
🧱 The page recipe
🌍 Real-life examples
Too big and vague.
Clear and small.
📝 Quick quiz
1. What does HTML do?
✅ It gives the page its structure.
2. What does CSS do?A) Style B) Structure
✅ A. CSS controls colours and layout.
3. What reads the file and shows the page?
✅ The browser.
2.2 Ask Claude to build small
🎯 Goal: write a clear request for a tiny page- Start small: one page, one idea.
- Say the topic, who it is for, the colours and that you want one single file.
- Ask Claude to explain each part so you learn.
- Use only made-up or school-topic content. No personal details.
🏗️ Build recipe
🌍 Real-life examples
Too vague to build.
Specific and safe.
📝 Quick quiz
1. Why start small?
✅ Small pages are easier to test and understand.
2. What should you not put on a practice page?A) Made-up facts B) Personal details
✅ B. Keep personal details out.
3. Why ask for comments in the code?
✅ They explain what each part does.
2.3 Test and fix
🎯 Goal: be a debug detective- The first version is rarely perfect. Testing is normal.
- Look at the page: is anything missing, wrong or hard to read?
- Tell Claude exactly what is wrong: “The button is invisible.”
- Change one thing at a time and check again.
🔍 Detective questions
What do I see?
Describe it
no guessingWhat did I expect?
Compare
spot the gapWhich part?
Heading? Button?
narrow it downTest again
After one fix
repeat🌍 Real-life examples
Claude has to guess.
Easy to fix.
📝 Quick quiz
1. What is a bug?
✅ A mistake that makes something not work as expected.
2. Best way to report a bug?A) “It is broken” B) Say what you expected and what you see
✅ B. Details help.
3. How many fixes at a time?
✅ One, so you know what worked.
2.4 Share safely
🎯 Goal: publish only what is safe, with a grown-up- Before sharing, ask a parent or teacher.
- Never include full name, address, phone, school name or photos of people.
- Check that facts are right and that you have the right to use any pictures.
- Say it was made with help from AI.
🛡️ Publish checklist
🌍 Real-life examples
No checking.
Safe and responsible.
📝 Quick quiz
1. Who should you ask before sharing?
✅ A parent or teacher.
2. Which is safe to include?A) Your address B) A made-up character
✅ B. Made-up content is safer.
3. Why mention AI help?
✅ Honesty and credit.
🎨 Page Painter
Edit the code and watch the page change. Everything stays on your device. Pick a starter, then try a challenge!
🎯 Challenges
Chapter 2 summary
HTML, CSS, JS • Build small • Test and fix • Share safely.