Skip to main content
← Back to Building with AI (Vibe Coding)
Middle School Lab

Bug Hunt

Read the symptom, diagnose the bug, and tell the AI exactly what to fix — the real loop of building with AI.

Bug Hunt

When you build with AI, the first version rarely works perfectly. The real skill is reading the bug and telling the AI exactly what to fix. Diagnose each one.

Bugs fixed

0 / 6

Build 1 of 6

You asked for: A button that adds 1 to a counter.

Bug: Every click adds 2 instead of 1.

What should you tell the AI to fix it?

How does it actually work?

Building with AI is a loop: describe → generate → test → fix. The AI writes code fast, but it cannot see your screen. You run it, spot what is wrong, and describe the symptom precisely.

A vague report — “it's broken” — gets a vague fix. A precise one — “the counter goes up by 2, the handler is firing twice” — points the AI straight at the cause. Debugging is really the craft of describing reality clearly.