Your path · Module 3
When it breaks
Nothing works the first time. That's the job.
Broken code is not a verdict on you. It is information. Every programmer you admire spends most of their day with something not working yet.
The move is the same as in module 1: go big, then go small. Find the smallest piece that misbehaves, test just that, and fix it.
Try this: break your sketch on purpose. Remove a bracket, rename a variable. Read the error and fix it.
Go further
- MDN: What went wrong? — troubleshooting JavaScript