⚡ 0 XP
Step 1 of 1
Level 9 · Until you reach home
Some loops repeat a fixed number of times. Others repeat until something becomes true — like “stir until the sugar dissolves”.
“repeat until home” checks before each round: am I home yet?
🎯 Challenge: Level 9 · Until you reach home +15 XP
You don’t need to count! “repeat until home” keeps going until Dabbu is standing on the house.
Try twice to unlock the solution (0/2)
See the code · JavaScript
// Drag blocks under “when Run is pressed”
Lesson notes (text version)
1. Level 9 · Until you reach home
Some loops repeat a fixed number of times. Others repeat until something becomes true — like “stir until the sugar dissolves”.
“repeat until home” checks before each round: am I home yet?
Challenge: Level 9 · Until you reach home
You don’t need to count! “repeat until home” keeps going until Dabbu is standing on the house.