Forum Discussion
_anomDiebolt_
11 years agoQrew Elite
You have SEVERAL additional errors in your code - I apparently just reported the first one I saw. Corrected here:
http://pastie.org/9493321
You can minimize errors like this (everyone makes them including experienced developers) by using a variety of tools.
JSBeautifier will format you code:
JSBeautifier
http://jsbeautifier.org/
JSfiddle has a "linting" tool built into it which will identify syntax errors:
JSfiddle with JSHint
http://jsfiddle.net/rnp058hc/
The text editor Notepad++ has syntax highlighting and matching brackets highlighting which will help you find unbalanced brackets:
Notepad++
http://notepad-plus-plus.org/
There are thousands of similar tools available so pick those that you are comfortable with.
http://pastie.org/9493321
You can minimize errors like this (everyone makes them including experienced developers) by using a variety of tools.
JSBeautifier will format you code:
JSBeautifier
http://jsbeautifier.org/
JSfiddle has a "linting" tool built into it which will identify syntax errors:
JSfiddle with JSHint
http://jsfiddle.net/rnp058hc/
The text editor Notepad++ has syntax highlighting and matching brackets highlighting which will help you find unbalanced brackets:
Notepad++
http://notepad-plus-plus.org/
There are thousands of similar tools available so pick those that you are comfortable with.