GIDEON'SCODING SCHOOLBUILD GAMES. BEAT BIG GRUMP.
← BACK TO ARCADE
COURSE PROGRESS0 / 20
0 XP · 0/5 WORLD BADGES
LESSON 01 · SPRINKLE HILLS

Hero Roll Call

ONE NEW IDEA · TAKE YOUR TIME
+100 XP
COACH BYTE

A variable is a labeled box that can remember words.

I'll do the tricky parts. I built the talking and passport code. Your one job is to put a hero name in the box.

1 · WATCH A TINY EXAMPLEconst snack = "apple";

The box is named snack. The word apple is inside it, wearing quote marks.

YOUR ONE JOB

Put a hero name in the blank. Remember: words wear quote marks.

  1. 1Find the ___ after heroName.
  2. 2Tap the HERO NAME piece, or type your own name in quotes.
  3. 3Press the giant green ENTER to print the passport.
LEARN MORE · STORY + CODER WORDS

Byte the Bot needs a name for your hero's game passport. A variable is a labeled box that remembers something.

Coder words: Strings + variables. You do not have to memorize them today.

A name is savedThe name has quotesByte can say it
COACH CODE GUIDED
2 · TAP THE NEXT CODE PIECE

Find ___, then tap the glowing piece. Typing it yourself works too.

0 / 1 PLACED
The code pieces are real JavaScript.