- our code throwing errors? If so, read the error stack trace for the type, description, and location of the error. Go to the error’s location and try to fix.
- Is your code broken but not throwing errors? Walk through your code using
console.log() statements. When unexpected results occur, isolate the bug and try to fix it.
- Did you locate the bug using steps 1 and 2, but can’t fix the bug? Consult documentation to make sure you are using all JavaScript functionality properly. If you are still stuck, Google your issue and consult Stack Overflow for help. Read solutions or post your own Stack Overflow question if none exist on the topic.