← Back to Blog

Temple of Huế

Loops

Temple of Huế

What is Loops?

In the Temple of Huế, children learn about loops. A loop lets you repeat actions. For example, repeat(3) { moveForward(); } means move forward three times.

Real-World Application

The concept of "Loops" is used everywhere in programming. From automating repetitive tasks to making decisions based on conditions, loops is fundamental to how software works. Understanding this concept will help you become a better programmer and solve more complex problems.

Cultural Significance

The Huế temple was built in the 19th century and symbolizes the Nguyễn dynasty.

Available Blocks:

moveForward
repeat
turnLeft
turnRight

Challenge Type:

Loops

Use the moveForward block three times to reach the door.