Loops: Doing It Again
Loops let us repeat steps without writing them many times.
Loops: Doing It Again is a free Javascript for Kids lesson on CoddyKit. This is lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Javascript for Kids learning path, and your progress syncs across the web and the CoddyKit app. The Javascript for Kids course includes 4 lessons in total.
Superpower Number One! 🦸
Welcome, brave coder! 🎉 Today you unlock your FIRST coder superpower: loops! 🔁
A loop is a magic way to do something again and again without getting tired. ✨
Brushing Your Teeth 🪥
When you brush your teeth, you go: scrub, scrub, scrub, scrub! 🦷
You don't say each scrub a new way. You just repeat the same move. 🔁
That repeating is exactly what a loop does! 😄
The Lazy Way (The Good Way!) 😴
Imagine clapping 10 times. 👏
You COULD write: clap, clap, clap, clap, clap, clap, clap, clap, clap, clap. 😮💨
OR you could say: "Clap 10 times!" 🎉
Loops let coders be smart and save lots of writing! 🧠
Counting Steps 👣
A loop can count for you! 1, 2, 3, 4, 5... 🔢
It is like climbing stairs. Each step is the same action: lift your foot and step up. ⬆️
You repeat until you reach the top! 🏔️
Robot Dance Party 🤖💃
Tell a robot: "Spin around 3 times!" 🌀
The robot spins... spins... spins... and stops. 🛑
The loop knew exactly when to STOP — after 3 spins! 🎯
Loops Need a Stop! 🛑
Every loop needs to know when to stop. ✋
If you said "Clap forever!" you would clap until bedtime! 😴
So we always tell the loop: repeat THIS many times. 🔢
Real Life Loops 🌍
Loops are everywhere! 👀
- A song chorus you sing again and again 🎵
- Pedaling a bike, round and round 🚲
- Steps in a hopscotch game 🦶
Can you spot more loops around you? 🔍
Loops in Games 🎮
In your favorite game, the bad guys keep moving... 👾
The clock keeps ticking... ⏰
Stars keep twinkling... ⭐
All of that is loops, repeating super fast — many times every second! ⚡
Loop a Recipe 🍪
Making 6 cookies? 🍪 You scoop dough and place it... 6 times!
"Scoop and place" is the step. Repeat 6 times is the loop. 🔁
One simple step, done over and over. Yum! 😋
You Are the Loop! 🕺
Stand up and try it! 🙌
Say out loud: "Jump 4 times!" Then jump: 1, 2, 3, 4! 🦘
You just RAN a loop with your own body! How cool is that? 🤩
You've Got the Power! 💪
Loops = doing something again and again, the smart way. 🔁
They save time, keep things tidy, and make games come alive. ✨
Superpower number one: UNLOCKED! 🔓🎉
Quick Check
Let's see your loop power in action! 🦸 Which one is a loop?
Awesome Work! 🌟
You unlocked your first superpower: loops! 🔁🦸
Loops repeat steps the smart way — no tired hands! 💪
Next up: making CHOICES! See you there, coder! 👋😄
Learn JavaScript with an AI tutor — free
Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.
- Courses
- 35
- Lessons
- 140
Frequently Asked Questions
Is the “Loops: Doing It Again” lesson free?
Yes — the full text of “Loops: Doing It Again” is free to read here on the web. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Javascript for Kids course, upgrade to CoddyKit PRO. The Javascript for Kids course includes 4 lessons in total.
What will I learn in “Loops: Doing It Again”?
Loops let us repeat steps without writing them many times. You practise Javascript for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Javascript for Kids?
No prior experience is required. Javascript for Kids on CoddyKit is structured for beginners through advanced learners, so you can start here or from the beginning and move at your own pace. This is lesson 1 of 4.
How long does the “Loops: Doing It Again” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Javascript for Kids lesson?
Yes. Every Javascript for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Loops: Doing It Again
- Making Choices
- Bugs and Debugging
- You're Ready to Code!