Skip to content
C1Level 2 · BuilderCode CraftAbout 190 minutes of lessons

Interactive Web Apps

Turn pages into apps: data, functions, forms and state.

Suits
Learners who can already build a page with HTML, CSS and simple JavaScript events (B3 or equivalent).
Where it fits
Level 2, Builder (from about 10): Build interactive apps with the AI helper and coding agent, review every change, find bugs and prove your app works. This course is in Code Craft: Write code by hand: HTML, CSS, JavaScript and more. Optional at every level, for learners who want to write code themselves.

What you'll be able to do

  • Store app data in arrays and objects
  • Write functions with parameters and return values
  • Draw a list on the page from an array with a render function
  • Read and validate form input using preventDefault
  • Organise an app around one state object and render()

Lessons

  1. 1. Arrays and objects: storing your app's data

    35 min

    Keep lists of things in arrays and describe each thing with an object.

  2. 2. Functions: reusable building blocks

    35 min

    Package steps into functions with inputs (parameters) and outputs (return values), then write and fix some yourself.

  3. 3. Drawing the page from data

    40 min

    Write a render function that clears a list and rebuilds it from an array.

  4. 4. Forms, input and validation

    40 min

    Read what a user types, check it is sensible, and respond on the page.

  5. 5. App state: one source of truth

    40 min

    Keep everything your app remembers in one state object and redraw with render().

Plus 2 sandbox projects with automated checkpoints.

How it's assessed

  • Lesson checks passed at 70% or above
  • Project steps pass their automated checks
  • Can explain, line by line, how render() draws the page from state
  • Validates user input and shows messages in the page, not pop-ups

To complete the course

  • Complete all five lessons
  • Finish Mission List or Space Quiz Game with all checks passing
  • Answer the project's reflection prompts

What comes next

A parent, guardian or teacher creates the account. A short placement check suggests where each learner starts.