An adventure in coding

Summoning

Designed for kids age 10 to 12

A friendly young dragon typing on a laptop in a stone dungeon, drawn in pen and ink

Ages 10–12 No experience needed

Step into the dungeon, type real code, and build your own fantasy Character Builder app!

An introduction to JavaScript where each small adventure adds one new idea and you see the results right away in your browser.

Used tablets and apps? You're ready: Lesson 1 teaches opening files, typing, saving and refreshing, and an instructor helps.

Your quest

A short weekly course, sessions of about an hour and a half

  1. Run and change code

    Edit a message, save and refresh

  2. Declare variables

    Store and change values with const and let

  3. Use operations

    Do math, join text, turn text into numbers

  4. Make decisions

    Compare values and choose with if / else

  5. Repeat actions

    Use loops and keep running totals

  6. Write functions

    Reusable code, including random dice

  7. Group information

    Arrays and objects for species and classes

  8. Then: the final project

    Put every skill together

Final project

Create Your Own Character Builder

Fill in a character creation sheet, agree on the rules and tests as a group, then write and connect the code to build a complete D&D-style Character Builder app to show off!

Optional bonus

Reading HTML controls

Read a text box and a dropdown, and respond to a button click. Not needed for the final project.

How long

A short weekly course

Sessions of about an hour and a half

What you need

Windows laptops

We'll supply them, with Notepad and a web browser. Or bring your own.

Ready to go

Nothing to set up

No installs, internet or command line needed

Get started: Lesson 1

Open index.html in Edge and script.js in Notepad, then cast your first spell:

// before
print("Welcome, adventurer!");
// after
print("Welcome, code explorer!");
  • Ctrl + S in Notepad to save
  • Ctrl + R in Edge to refresh
  • Your new greeting appears on the page!

Contact us for information about scheduling in your school or area.