GIDEON'SCODING SCHOOLBUILD GAMES. BEAT BIG GRUMP.
← BACK TO ARCADE
COURSE PROGRESS0 / 20
0 XP · 0/5 WORLD BADGES
LESSON 01 · SPRINKLE HILLS
+100 XPHero Roll Call
ONE NEW IDEA · TAKE YOUR TIMECOACH 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 EXAMPLE
const 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.
- 1Find the ___ after heroName.
- 2Tap the HERO NAME piece, or type your own name in quotes.
- 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
COACH BYTEI'll do the tricky parts. Find the blank, tap its code piece, then press the giant green ENTER. Attempt 0.
The code pieces are real JavaScript.