Back to Real Arrays
Code Studio · Level 6 Builder

Build the Alien Launch Team

Put three alien names into one array, then use one loop to activate every teammate.

15-20 minAges 9-12Arrays + LoopsJavaScript
1. Build the arrayClick each alien to add a name to team.
2. Notice the indexThe first teammate is team[0], not team[1].
3. Run one loopThe loop visits all three slots without three separate commands.
Choose the array members

Add Nova, Milo, and Tilla to the team.

let team = [
click an alien
];

Choose the three aliens to build the array.

Live Team Array

The launch pads are waiting.

team[0] Nova NovaBUILDER
team[1] Milo MiloDEBUGGER
team[2] Tilla TillaHELPER
0 of 3 aliens activated