Skip to content
starvia home
Webpath.js-in-the-browser

JavaScript in the Browser

Make web pages that react. Handle taps, clicks and key presses, keep track of what's happening, write the code that saves it in the browser, and draw a game on a canvas.

Missions
16
Time
~11 hrs
Level
Intermediate
Works on
Phone, Tablet, Laptop
Syllabus

What's in the path.

  1. 01

    Reacting to people

    the DOM, events, forms, updating the page

    4 missions
  2. 02

    Keeping track

    state, arrays of objects, rendering lists

    3 missions
  3. 03

    Remembering

    localStorage, JSON, loading and saving

    3 missions
  4. 04

    Games

    canvas, the game loop, collisions, keyboard input

    5 missions
  5. ★

    Project

    Your arcade game

    1 mission
Final project

Your arcade game

A canvas game with a start screen, scoring and a high-score table.

Beyond the code
  • Planning on paper before you code
  • Making controls that feel obvious to a new player
You'll need
  • A phone, tablet or laptop
  • HTML and CSS basics
  • Practice pages forget what they saved when you leave them. When you copy your code out at the end and run it on your own site, saving works for real

Recommended first: The Web, Built by Hand

Next

Pairs well with.

WebReady now

The Web, Built by Hand

Build your own portfolio site, ready to publish.

~11 hoursBeginner

£34for life
WebReady now

Your First Full-Stack App

Build a club sign-up app with accounts and a practice database.

~12 hoursAdvanced

£39for life