This document discusses various tools and techniques for efficiently developing JavaScript code, including using namespaces to organize code, abstracting patterns into reusable components, leveraging code editors for formatting and linting, debugging interactively in the browser, and monitoring network traffic. Some specific recommendations are to use Firebug for debugging, JSLint for linting, and templating for code consistency.
28. Try it first (1)
d.query(quot;h2quot;)
.style({color:quot;redquot;})
.anim({left:300}, 500)
Are you sure this works?
NO
d.query(quot;h2quot;)
.style({position:quot;absolutequot;, color:quot;redquot;})
.anim({left:300}, 500)
save one reload!
29. Try it first (2)
• try the code in FireBug first
• learn more about your library
• play with the code
• find better ways?