What Is an Algorithm?
An algorithm is a step-by-step plan to get something done.
What Is an Algorithm? is a free Javascript for Kids lesson on CoddyKit — 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, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
A Secret Coder Word
Hi there, future coder! 👋✨
Today you learn a BIG, fancy word that all coders know.
The word is... algorithm! 🤖
It sounds tricky, but it is super simple. Let's find out! 🎉
It's Just a Plan
An algorithm is just a step-by-step plan. 📋
It tells you what to do, one step at a time. 👣
Step 1... then step 2... then step 3! 🪜
That's it! You already understand it! 🌟
Like a Recipe! 🍪
Have you ever made cookies? 🍪
A recipe is an algorithm! 👩🍳
- Step 1: Mix the dough 🥣
- Step 2: Roll little balls ⚪
- Step 3: Bake them 🔥
- Step 4: Yummy cookies! 😋
Steps in order = a plan = an algorithm!
A Treasure Map! 🗺️
A treasure map is an algorithm too! 🏴☠️
- Walk 5 steps forward 👣
- Turn left 👈
- Dig under the big tree 🌳
- Find the gold! 💰
Follow the steps in order and you WIN! 🎉
Getting Ready for School 🎒
Even YOU use algorithms every morning! ☀️
- Wake up 😴
- Brush your teeth 🪥
- Eat breakfast 🥞
- Grab your backpack 🎒
That is your morning algorithm! How cool is that? 😎
Computers Love Algorithms 🤖
Computers are great helpers, but they can't think for themselves. 🧠❌
They need a plan to follow! 📋
So coders write algorithms to tell the computer exactly what to do. ✅
You are the boss, the computer is the helper! 👑
Small Steps Are Best 🐜
Good algorithms use tiny, clear steps. 🐜
"Make breakfast" is too big. 🤔
Better: "Get a bowl. Add cereal. Add milk. Grab a spoon." 🥣
Little steps are easy to follow! 🪜
One Step at a Time 1️⃣
An algorithm does one thing, then the next thing. 1️⃣2️⃣3️⃣
It never skips ahead! 🚫
Just like climbing stairs — you take one step, then the next. 🪜
Slow and clear wins the game! 🏆
Building a Tower 🧱
Think of building with blocks! 🧱
You stack one block, then another, then another. 🏰
Each block is a step. The whole tower is your algorithm! 🎉
Building blocks + a plan = something awesome! ✨
Algorithms Are Everywhere! 🌍
Now you can spot algorithms all around you! 👀
- Tying your shoes 👟
- Brushing your teeth 🪥
- Building a sandcastle 🏖️
- Playing a game 🎮
A coder sees plans everywhere! 🦸
You're a Plan-Maker! 🌟
Wow, look at you! 🤩
You learned the big coder word algorithm. 🤖
It just means a step-by-step plan. 📋
Coders make plans, and now you can too! 💪
Quick Check
Let's see what you remember! You've got this! 😊
You Did It! 🎉
Hooray! 🥳 Today you learned:
- An algorithm is a step-by-step plan 📋
- Recipes and treasure maps are algorithms 🍪🗺️
- Tiny clear steps are the best 🐜
- Computers follow our algorithms 🤖
Next, we learn why the ORDER of steps matters! See you there! 👋
Frequently asked questions
Is the “What Is an Algorithm?” lesson free?
Yes — the full text of “What Is an Algorithm?” is free to read here on the web, and the Javascript for Kids course includes 4 lessons in total. 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.
What will I learn in “What Is an Algorithm?”?
An algorithm is a step-by-step plan to get something done. 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; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “What Is an Algorithm?” 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
- What Is an Algorithm?
- Why Order Matters
- Be a Robot!
- Write Your Own Algorithm