Level 5 · Marine Drive लेवल 5 · मरीन ड्राइव
Lesson 5 of 20 · about 6 minutes · A long straight road! Instead of 8 “move” blocks, put one “move” inside a “repeat” block and set it to 8..
⚡ 0 XP
Step 1 of 1
Level 5 · Marine Drive
A loop repeats steps. “repeat 8 times: move forward” does the same work as eight separate blocks — and is much easier to read.
Fewer blocks = more ⭐ stars.
🎯 Challenge: Level 5 · Marine Drive +15 XP
A long straight road! Instead of 8 “move” blocks, put one “move” inside a “repeat” block and set it to 8.
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 5 · Marine Drive
A loop repeats steps. “repeat 8 times: move forward” does the same work as eight separate blocks — and is much easier to read.
Fewer blocks = more ⭐ stars.
Challenge: Level 5 · Marine Drive
A long straight road! Instead of 8 “move” blocks, put one “move” inside a “repeat” block and set it to 8.