Teach building with AI

A free classroom kit for teachers, librarians and program leads. Every guide is free to print and share for learning, needs no student accounts, and ends with a 5-question check whose answer key is at the back of the PDF.

The Builder's HandbookEvery guide, the glossary and all answer keys in one PDF.Glossary PDFPlain-language word wall for your room.Builder ToolkitWorksheets: build brief, business plan, launch checklist.
For you, not your studentsAI in the classroom: a guide for teachersPlan and differentiate faster, give quicker feedback, protect student privacy and set fair AI rules.

Lesson plans

Timed plans you can run as-is or split across class periods.

60 minutes · Middle school, high school, adult education, libraries

AI literacy hour: what AI is and how to check it

Learners will be able to

  • Explain in their own words what an LLM does (predicts likely text).
  • Name one reason AI can be confidently wrong and one way to check it.
  • Use an AI assistant for a task and verify one fact against a source.

Materials

Agenda

  1. 10 minWarm-up: the Word of the day flashcard, then ask 'Where have you seen AI this week?'
  2. 15 minRead 'What is AI, and what is an LLM?' together (or project it); pause on hallucinations.
  3. 20 minTry it in pairs: 'Catch a hallucination on purpose'. Each pair reports one thing they checked.
  4. 10 minKnowledge check (5 questions) individually, on screen or from the PDF.
  5. 5 minExit ticket: one sentence on when they'd double-check an AI answer.

Evidence of learning: Quiz score and an exit-ticket sentence; optional: the AI Explorer badge.

90 minutes · High school, college, bootcamps, adult learners (one device per pair)

First build: a tiny app in 90 minutes

Learners will be able to

  • Write a clear build prompt using goal, context, constraints and format.
  • Run the vibe coding loop: describe, generate, run, check, refine.
  • Show a working one-page tool and explain one improvement they made.

Materials

Agenda

  1. 10 minDemo: build a tip calculator live from one prompt; show the preview.
  2. 15 minPairs fill in the AI build brief (Builder Toolkit) for their own tiny tool.
  3. 40 minBuild in a prompt-to-app builder: one feature per prompt, test after each.
  4. 15 minGallery walk: each pair demos for 1 minute; peers note one thing that broke.
  5. 10 minKnowledge check for 'What is vibe coding?' and a reflection: what would you build next?

Evidence of learning: A live link or screenshot of the tool, the completed build brief, and the quiz score.

120 minutes · High school CS, career and technical education, adult upskilling

How the web works: front end, back end, GitHub and hosting

Learners will be able to

  • Label the front end, back end, database and API of an app they use.
  • Make a commit, a branch and a pull request on GitHub.
  • Explain the difference between a preview and production deployment.

Materials

Agenda

  1. 20 min'Take an app apart' activity from How apps work, then share answers.
  2. 40 minGit and GitHub: everyone makes their first pull request (the guide's Try it).
  3. 30 minHosting: deploy a starter page from GitHub to a free host and open a preview link.
  4. 20 minThree knowledge checks; review missed questions with the glossary.
  5. 10 minReflection: draw the path from their laptop to a real web address.

Evidence of learning: A merged pull request, a live URL and three quiz scores.

45 minutes · Any class that uses AI tools; pairs well with a school AI policy discussion

Build safely and use AI honestly

Learners will be able to

  • Explain why secrets never go in front-end code or chats.
  • Describe deny-by-default data access in plain words.
  • Spot bias in an AI answer and explain why decisions about people need a human.
  • Agree on classroom norms for honest, credited AI use.

Materials

Agenda

  1. 10 minScenario cards: a leaked key, an open database, an AI-written essay. What went wrong?
  2. 15 minRead 'Build safely' sections 1 to 4 in small groups, each group teaches one section back.
  3. 10 minRun the 'Responsible AI' fairness check in pairs, then draft three class norms for AI use and how to credit it.
  4. 10 minKnowledge check and discussion of any missed question.

Evidence of learning: Group norms poster and the quiz score.

90 minutes · Entrepreneurship classes, youth programs, small business workshops

From idea to business: a mini pitch

Learners will be able to

  • Write a problem sentence and a positioning sentence.
  • Define an MVP and three features to cut.
  • Pitch an idea in 60 seconds with one clear call to action.

Materials

Agenda

  1. 15 minProblem hunt: list five everyday annoyances; pick one per team.
  2. 25 minFill in the one-page business plan (Builder Toolkit), with AI as an interviewer.
  3. 20 minPositioning: generate 10 versions with AI, pick the one a customer would repeat.
  4. 20 min60-second pitches with feedback: is the problem real? Is the next step clear?
  5. 10 minKnowledge check for 'From idea to MVP'.

Evidence of learning: A completed one-page business plan and a recorded or live pitch.

45 minutes · Middle school to adult; works with any group that has used an AI tool once

Debug and prompt detectives (game lesson)

Learners will be able to

  • Read an error message and name its most likely cause.
  • Explain why one prompt gets a better result than another.
  • Rewrite a weak prompt with context, constraints and a format.

Materials

Agenda

  1. 5 minWarm-up: project the Error Detective case of the day and vote on the answer.
  2. 15 minIn pairs, play one Error Detective round; each pair explains one case to the class.
  3. 15 minIn pairs, play one Prompt Fixer round, then rewrite one weak prompt from the round.
  4. 10 minShare the best rewritten prompts and write an exit ticket: one rule for good prompts.

Evidence of learning: Both game scores, one rewritten prompt and an exit ticket.

90 minutes · Middle school, high school, after-school clubs, family coding nights

Make a mini game with AI

Learners will be able to

  • Design a one-screen game with a goal, controls, a win or lose rule and a score.
  • Build it with an AI builder from one clear prompt.
  • Improve it from a playtest by changing one thing at a time.

Materials

Agenda

  1. 10 minShow a finished mini game; explain state, the game loop and input with it.
  2. 15 minEach learner (or pair) fills in the five design questions on a card.
  3. 30 minBuild with the guide's prompt, adapted to their design; the teacher circulates.
  4. 20 minPlaytest swap: play another pair's game silently, then give one tip; tune one number.
  5. 15 minGallery: share links, credit any assets used, and take the guide's 5-question check.

Evidence of learning: A playable game link, a design card and a check score.

45 minutes · High school, college, bootcamps and adults who have built something with AI

Read code like a detective (Bug Hunt lesson)

Learners will be able to

  • Read a short snippet and explain what it does line by line.
  • Spot common bugs: off-by-one, = vs ===, missing await, text vs numbers, missing WHERE.
  • Use AI to explain code, then check its explanation against the code.

Materials

Agenda

  1. 5 minWarm-up: project one Bug Hunt snippet and let the class vote on the bug.
  2. 15 minIn pairs, play one Bug Hunt round and note the two bugs that fooled them.
  3. 15 minEach pair asks an AI to explain one snippet line by line, then checks the explanation and presents the fix.
  4. 10 minExit ticket: write a tiny buggy snippet of your own and swap with another pair.

Evidence of learning: A Bug Hunt score, one explained fix and a swapped buggy snippet.

60 minutes · Middle school to adult beginners; no experience needed

Your first web page: HTML and CSS by hand and with AI

Learners will be able to

  • Name what HTML and CSS each do on a page.
  • Use Inspect to find and safely change an element's text and style.
  • Describe a change to an AI builder precisely, using the element's tag or class.

Materials

Agenda

  1. 10 minShow any website with Inspect: point out tags, a CSS rule and the box model.
  2. 15 minLearners change a heading's text and colour live on a site, then reload and see it reset.
  3. 20 minAsk an AI for a one-page 'about me' site, then make two precise changes by naming tags or classes.
  4. 15 minShare pages, use the HTML and CSS cheat sheet to explain one change, and take the guide's check.

Evidence of learning: A one-page site, two described changes and a check score.

45 minutes · High school, college and adults who have used a spreadsheet

Data detectives: SQL basics

Learners will be able to

  • Read a SELECT query with WHERE, ORDER BY and LIMIT.
  • Count by group with COUNT and GROUP BY.
  • Explain why UPDATE and DELETE always need a WHERE, and how to check first.

Materials

Agenda

  1. 10 minShow a small table of fake club sign-ups and read three queries out loud together.
  2. 15 minIn pairs, write queries for three questions (only coding fans, newest first, count per interest).
  3. 10 minPlay the Bug Hunt case about UPDATE without WHERE; discuss backups and checking with SELECT.
  4. 10 minExit ticket: write one safe UPDATE with its matching SELECT.

Evidence of learning: Three working queries and an exit ticket with a safe UPDATE.

45 minutes · Families, senior centres, libraries, community groups, middle and high school

Spot the scam: staying safe together (game lesson)

Learners will be able to

  • Name the three big warning signs: urgency, secrecy and unusual ways to pay.
  • Check a worrying message safely: stop, then contact the person or company on a number or app you already trust.
  • Agree a family or group plan: a safe word, who to call back, and one account protected with multifactor sign-in.

Materials

Agenda

  1. 5 minWarm-up: has anyone had a strange text, call or pop-up? Collect examples without names or numbers.
  2. 10 minRead the guide's warning signs together and practise saying 'Let me call you back' out loud.
  3. 15 minIn pairs or family groups, play a Spot the Scam round and talk through every answer, including the genuine messages.
  4. 10 minMake a plan: choose a safe word, list who to call back, and turn on multifactor sign-in for one important account.
  5. 5 minShare one tip each group will pass on to someone who wasn't here.

Evidence of learning: A written safety plan (safe word, call-back list, one account with multifactor sign-in) and a Spot the Scam score.

60 minutes · High school, college and adult learners who have done HTML and CSS

Your first React component

Learners will be able to

  • Explain components, props and state in their own words.
  • Build a counter and a list with stable keys using an AI builder or online playground.
  • Read one React warning and one type error, and fix both without hiding them.

Materials

Agenda

  1. 10 minComponents as building blocks: on a real website, sketch the components you can see and what props each might take.
  2. 15 minBuild a counter with useState using an AI builder; everyone finds the state variable and its setter in the code.
  3. 15 minBuild a to-do list with keys, then remove the key and read the warning in the Console together.
  4. 10 minRead one type error out loud as 'you gave X, but Y was expected', then fix it without using any.
  5. 10 minShare: what broke, how you knew, and how you fixed it.

Evidence of learning: A working to-do list component with stable keys, plus one error each learner read, explained and fixed.

60 minutes · High school and adult learners; middle school with school-managed accounts and the school's approval

Python first steps (in the browser)

Learners will be able to

  • Run a first Python program and explain what print and a variable do.
  • Use a list, a loop and an if together.
  • Read a traceback from the bottom and fix the error it describes.

Materials

Agenda

  1. 10 minFrom blocks to text: put a Scratch 'repeat' block next to a Python for loop and spot what changed.
  2. 15 minOpen Google Colab (or Python on the computer) and run print, a variable and an f-string.
  3. 15 minMake a list of scores and print only the ones above 80, using a loop and an if.
  4. 10 minBug hunt: the teacher removes an indent and misspells a name; learners read each traceback from the bottom and fix it.
  5. 10 minShare: one rule about indentation you'd tell a friend, and one error message you can now read.

Evidence of learning: A notebook or script that prints the scores above 80 and their average, plus one traceback each learner read and fixed.

60 minutes · High school coding clubs, college and adult learners who have built something with AI

Secure an AI feature (coding club session)

Learners will be able to

  • Explain direct and indirect prompt injection with an example.
  • Cut an AI agent's tools and permissions down to what its job needs.
  • Name the protections every AI feature needs before launch: keys on the server, rate limits and spending caps, and a person approving risky actions.

Materials

Agenda

  1. 10 minWarm-up: show an email with a hidden 'ignore your instructions' line, and ask whose instructions an AI assistant reading it would follow.
  2. 15 minRead the guide's prompt-injection and blast-radius sections; in pairs, list every tool an inbox assistant has and cross out what its job doesn't need.
  3. 15 minPlay a round of Error Detective and Prompt Fixer in pairs, then discuss two scenarios: a chatbot that prints its hidden instructions, and a usage spike from one account.
  4. 15 minDesign on paper: a homework-help bot for the club. Where does the key live, what are the limits, and what needs a person's approval?
  5. 5 minExit ticket: one attack and the protection that limits it.

Evidence of learning: A one-page design for the club bot (key location, limits, approvals, what it may read) and an exit ticket.

45 minutes · Middle and high school coding clubs, adult beginners who know a little HTML

Lay out a page that fits every screen

Learners will be able to

  • Put items in a row with flexbox, and centre them both ways.
  • Build a card grid that reflows by itself with repeat(auto-fit, minmax(...)).
  • Find and fix what makes a page scroll sideways on a phone.

Materials

Agenda

  1. 5 minWarm-up: open any website in DevTools' device toolbar at 375px wide. What breaks, overlaps or sticks out?
  2. 10 minRead the guide's flexbox and grid sections together. In the code playground, centre the boxes in 'Lay out boxes with flexbox', then stack them.
  3. 15 minPairs: open 'A responsive card grid', switch to auto-fit and minmax, narrow the window, then make the first card span two columns.
  4. 10 minBug fix: 'Stop the sideways scroll' in the playground, then one class round of Bug Hunt. Discuss the card with a fixed width.
  5. 5 minExit ticket: one rule for a row, one for a grid and one for phones.

Evidence of learning: A responsive card grid in the playground (downloaded or saved on the device) and an exit ticket.

60 minutes · High school coding clubs, adult education and bootcamp prep

Build a sign-up form people can actually use

Learners will be able to

  • Build a form with labels, the right input types, names and autocomplete.
  • Explain why the server must check every form, even when the browser already has.
  • Write error messages that say how to fix the problem, linked to their fields.

Materials

Agenda

  1. 10 minWarm-up: show three error messages: 'Invalid input', 'Error 400' and 'Enter an email like name@example.com'. Which one helps, and why?
  2. 15 minRead the guide's 'real form parts' and 'check it twice' sections. In pairs, list what a sign-up form for the club needs, then cross out what it doesn't.
  3. 20 minIn the code playground, fix 'Error messages people can fix': a helpful message and autocomplete, then try it with the keyboard only.
  4. 10 minShow and tell: one pair removes required in DevTools and explains what the server must still check.
  5. 5 minExit ticket: two form bugs AI-written code makes, and the fix for each.

Evidence of learning: A working, keyboard-tested sign-up form in the playground and an exit ticket.

60 minutes · High school coding clubs, college and adult learners who know basic JavaScript

Make code wait: async JavaScript in an hour

Learners will be able to

  • Explain in their own words what a promise is and what await does.
  • Predict the order of console output for code with setTimeout.
  • Fix a forEach that doesn't wait, and run two requests side by side with Promise.all.

Materials

Agenda

  1. 10 minWarm-up, acted out: one learner 'orders a pizza' (a promise) while the class keeps working until it's ready. What does await change?
  2. 10 minRead the guide's first two sections together, then predict what the setTimeout snippet prints before running it.
  3. 15 minPairs: in the code playground, run 'Side by side with Promise.all' and compare the two times. Then add the failing call and catch it.
  4. 15 minBug fix: 'The forEach that doesn't wait'. Fix it once with for...of and once with Promise.all and map.
  5. 10 minWrap-up: list the async bugs to spot in AI-written code. Exit ticket: one bug and its fix.

Evidence of learning: The fixed forEach starter in the playground and an exit ticket.

45 minutes · High school coding clubs, adult learners starting projects with AI builders or coding agents

Packages without the panic: npm in 45 minutes

Learners will be able to

  • Read a package.json: scripts, dependencies and version ranges.
  • Explain what the lockfile and node_modules are, and which belongs in Git.
  • Check a package an AI suggests before installing it.

Materials

Agenda

  1. 5 minWarm-up: 'An AI told me to install a package I've never heard of. Should I?' Vote, then share that AI tools sometimes invent package names.
  2. 10 minRead the guide's package.json and lockfile sections, then label a printed package.json together: scripts, dependencies, devDependencies, ranges.
  3. 15 minPairs: the teacher picks four package names an AI suggested. Check each on npmjs.com: exact spelling, a real repository, recent releases, weekly downloads.
  4. 10 minError Detective: the two npm cases ('Missing script' and the lockfile out of sync). Each pair explains one fix to the class.
  5. 5 minExit ticket: which npm files go in Git, and one check before installing a package.

Evidence of learning: A completed package check for four names and an exit ticket.

60 minutes · High school coding clubs, college and adult learners, and anyone building an app with a database

Ask your data: tables and SQL in an hour

Learners will be able to

  • Turn an app idea into tables, and link them with primary and foreign keys.
  • Read a SQL query and say what it returns before running it.
  • Spot the classic SQL mistakes: = null, a missing where, and an inner join that drops rows.

Materials

Agenda

  1. 10 minWarm-up: a club wants an app for members, workshops and signups. In pairs, list what it must remember and draw a box for each kind of thing.
  2. 15 minRead the database guide's keys and relationships sections. Add keys and lines to the boxes; which link needs a join table?
  3. 20 minPlay a Query Quest round in pairs. Before choosing, each partner says out loud what one wrong query would return.
  4. 10 minShow and tell: one pair explains why count(*) on a left join gives an empty workshop a count of 1.
  5. 5 minExit ticket: write a query that finds members with no city, and say why = null doesn't work.

Evidence of learning: A table sketch with keys, a Query Quest score and an exit ticket.

45 minutes · High school coding clubs, college and adult learners, and builders shipping their first app

Lock the doors: web security in 45 minutes

Learners will be able to

  • Explain why every request needs a check on the server, even when the button is hidden.
  • Show how text someone typed can run as code (XSS), and stop it with textContent.
  • Say what a CORS error means and what it doesn't protect.

Materials

Agenda

  1. 5 minWarm-up: the Delete button only shows for admins. Is the app safe? Take a quick vote, then hold the answer.
  2. 10 minRead the guide's 'check access' and 'XSS' sections, then return to the vote.
  3. 15 minIn the code playground, open 'Text, not code'. Turn the page pink with innerHTML, then make add() always use textContent.
  4. 10 minIn pairs, find the problem in the two web security Bug Hunt cases and write the fix in one sentence each.
  5. 5 minExit ticket: three security checks you'd ask an AI helper to make on your own app.

Evidence of learning: A fixed playground page and an exit ticket with three checks.

45 minutes · High school coding clubs, college and adult learners who know basic JavaScript

Patterns, not panic: regular expressions in 45 minutes

Learners will be able to

  • Read a short regex one piece at a time and say what it matches.
  • Use ^ and $, and the g and i flags, on purpose.
  • Test a pattern with examples before trusting it.

Materials

Agenda

  1. 5 minWarm-up: show /^\d{5}$/ and ask everyone to guess what it matches. Write down the guesses.
  2. 10 minRead 'Read it one piece at a time' and 'Flags change the rules'. Decode the warm-up pattern together.
  3. 15 minIn the code playground, run 'Test a regex', then fix both bugs: anchors for the five-digit check, and g for replace().
  4. 10 minIn pairs, write three strings that should pass a pattern of your choice and three that shouldn't, then swap and test each other's.
  5. 5 minExit ticket: one regex bug AI-written code makes, and how you'd catch it.

Evidence of learning: A fixed regex starter and a set of test strings.

Classroom notes

  • Check each AI tool's age requirements and your school or district's AI policy before students sign up for anything.
  • The guides, glossary and quizzes need no accounts. Quiz progress and badges stay in each browser; badges are self-checks, not certificates.
  • Every track has a printable track test with an answer key on its own page (open any track test and choose "Print this test").
  • Learners can print a one-page study record (guides passed, track tests, games) to hand in. It's self-reported practice, so pair it with a short check in class.
  • The code playground worksheet prints every starter with its task and code, and space to note what each learner changed. The playground needs no accounts and runs in the browser.
  • Students should never paste personal information, passwords or keys into AI tools; the Build safely guide covers why.
  • On shared computers, progress is per browser profile, so ask students to note their scores on paper or use the PDF quizzes.

Want Digital Builders to run a session with your students or staff? Get in touch.