← All JavaScript lessonsLesson 7 of 12 · ⭐ 20 XP

Counting Down

⭐ 0 XP · 🔥 0 day streak

A while loop is the for loop's wilder cousin: it keeps going while its question stays true, and it is your job to change something inside so the question eventually turns false.

Your mission: the countdown prints 3 forever because the counter never goes down. Add the missing line so it prints 3, 2, 1, then Blast off!.

Checks

    Next lesson →