Test frequently--if there is a problem, it's easier to identify where it is located
Comment out code--if new code malfunctions, you can comment out new lines and reactivate
one at a time to detect the problem.
Watch variables--use coding features to check the values of variables
alert()--reads out values, but stops the program
to await user input. Not always ideal for debugging animations.
console.log()--reads out values to the console, which
can be viewed in the code inspector. Preferable for checking variables that change frequently and
for watching variables while allowing the pogram to run.
Behavior Testing Strategies
Use the code inspector to view dynamically generated HTML and the console log
User testing--test the program yourself and get input from others