⭐ Session 5 — Loops + Patterns

Repeat it. Multiply it. Make patterns!

🎯 Learning Goals

By the end of this session, you will be able to:


🌀 1. What Is a Loop?

loop is like telling the computer:

“Do this thing again… and again… and again… but slightly different each time!”

Instead of typing 50 circles manually, you write one loop and let the computer repeat the drawing for you.

📌 Basic “for loop” structure

for (let i = 0; i < 10; i++) {
  // repeat this code 10 times
}