Programmer's Picnic • Phase 2 HTML/JS
Home
⭐ Phase 2 • Foundation

Milestone 01: Create Project Folder

Create the project structure and first files.

2% complete

🎯 Goal

Complete this milestone so the KBC HTML/JavaScript project moves one step closer to the final working app.

🖼 Expected Output SVG

This diagram defines what the project output should include at this milestone.

Milestone 01 output diagram

🔨 Fully Defined Task

What to build

  • Create a folder named kbc-html-js.
  • Inside it create index.html, style.css, app.js and questions.json.
  • Open the folder in VS Code.
  • Write a one-line comment at the top of each file explaining its purpose.

Acceptance Criteria

  • All four files exist.
  • The folder opens in VS Code.
  • File names match exactly.

Submit to Teacher

  • Screenshot of folder tree.
  • List of files created.

📄 Files and Code Snapshot

Open the complete code up to this milestone:

💻 Code Up To This Point

View milestone 01 code
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>KBC Quiz</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <h1>KBC Quiz</h1>
  <script src="app.js"></script>
</body>
</html>

style.css

body{font-family:Arial;background:#061533;color:white;margin:0}.app{max-width:1100px;margin:auto;padding:24px}button{cursor:pointer}

app.js

console.log('KBC app started');

▶ Run This Milestone

Open milestone-code/milestone-01/index.html in your browser.
For best results use VS Code Live Server.

🐞 Debugging Challenge

If this milestone does not work:
1. Check that the correct milestone-code folder is open.
2. Check browser console.
3. Check JSON commas and quotes.
4. Compare with the SVG diagram.
5. Compare with the code snapshot.

🌐 GitHub Commit

git add .
git commit -m "Phase 2 milestone 01: Create Project Folder"
git push

🏆 Completion Checklist