Lesson 7 of 11 · 6 min

Debugging and testing

Good programmers test their code by running it and checking the result. When it doesn't work, they debug: find where it goes wrong, fix it, and test again. Testing edge cases (unusual inputs) helps catch hidden bugs.

▶️ → 🐛 → 🔧 → ✅

Test, find the bug, fix, test again

Let’s try it! ✍️

Question 1 of

🎉

Great job!

You finished this lesson.

Next lesson → All lessons