🐞

Bug

(Buh-g)

What is it? 🤔

A bug is a tiny Mistake in the computer's instructions.

Computers do exactly what you tell them to do. So if you tell them to "Wear shoes on your hands", they will do it! That's a bug.

Example: The Robot Chef 👨‍🍳

Correct Code ✅
1. Get Egg
2. Crack Egg into Bowl
3. Cook

Result: Yummy Breakfast! 🍳

Buggy Code 🐛
1. Get Egg
2. Crack Bowl into Egg
3. Cook

Result: Broken Bowl Soup! 🥣

💡 Fun Fact

The first computer bug was a REAL moth 🦋 trapped inside a giant computer in 1947! It stopped the machine from working.

🎮 Try It Yourself!

Find and click the BUG in the code to fix it!

1 2 3
function sayHello() {
print("Helwo World");
}

👆 Tap the typo to squash the bug!

🕵️ Secret Mission 🕵️

PASSPORT CODE: MOTH