SlideShare a Scribd company logo
3
Most read
6
Most read
7
Most read
Setting up your
development environment
CST 214 – JavaScript Programming
Things to consider when
setting up your development
environment:
• Operating System
• Language(s) supported
• Specific Features
Syntax Highlighting
Syntax highlighting can
be useful for debugging
as it implicitly validates
the syntax.
Notice how the keyword
Document with a capital
D is not colored in the
second image.
Code Intelligence
• Auto-balancing of characters and tags
• Code completion
• Tracking of variables and functions
• Also minimizes possible errors.
Other Features
• Inline execution of code
• Page templates
• FTP support
• Built-in debugger
• Network monitor
• WYSIWYG
• Help system, manual, and
documentation
Coding Software
Text Editors
• Cheaper
• Simpler
• Easier to master
• Faster to begin using
• Less demanding of the
computer
• Can be used for many
tasks
IDEs
• More expensive
• More complicated
• Requires more computer
resources
• Tend to be more specific
• Better code intelligence
• Better debugging
• Faster development
once mastered
Coding Software
Text Editors
• Komodo Edit
• UltraEdit
• Notepad++
• EditPlus
• TextMate
• TextWrangler
• BBEdit
• Emacs
• Vim
IDEs
• Adobe Dreamweaver
• Komodo IDE
• Aptana Studio
• Eclipse
• NetBeans
• WebStorm
What to Look For
• DOM Inspector
• JavaScript source viewer
• Advanced JavaScript debugger
• Network monitor
• Error console
Good Extensions for Chrome
• Web Developer
• Pendule
• Firebug Lite
• JavaScript Tester
• Validity
Useful Add-ons for Firefox
• Firebug
• Web Developer
• YSlow!
• Greasemonkey
• View Source Chart
• JS View
Useful features of Internet
Explorer
• IE Developer Toolbar
• Web Accessibility Toolbar
IE is not as extendible. The IE Developer Tool bar is
pretty good. It let’s you test running as different
versions of IE.
IE is best for testing final versions of code to make
sure it’s compatible.
The Opera Browser
Opera is extendible but it’s built-in Dragonfly is
really good. It has all the necessary features.
Safari
Safari has some extensions but its Web Inspector is
sufficient, similar to Opera’s Dragonfly.
JS Bin – A web based editor
JS Bin (jsbin.com) allows you to write and test JavaScript online,
without creating an entire Web page.
JS Bin even works with variables frameworks.
A more complex alternative is jsFiddle.
Types of errors
Syntactical
Syntactical errors prevent JavaScript from running. Caused by
improper syntax. Very common for beginners. Relatively easy to
find and fix.
Run-time
Run-time errors occur during execution of JavaScript. Can be
caused by referencing objects or methods that don’t exist. Can be
browser-specific.
Logical
Logical errors are bugs. No actual error reported, just an
unexpected result. Hardest to find and fix.
Common causes of errors
• Case Sensitivity
• Improper Syntax
• Misuse of = and ==
• Referencing objects that don’t yet
exist
• Treating objects as the wrong type
Get a good text editor or IDE.
Get a good development browser.
Keep the error console open!
Validate your JavaScript code.
Practice rubber duck debugging.
Good debugging techniques
Debugging Techniques
• Use external JavaScript files
• Save the file and refresh the browser.
• Try a different browser.
• Take a break!
Bad debugging techniques
• Panicking!
• Ignoring error messages
• Trying random solutions
• Not taking breaks
Debugging with alert()
alert('Now in the XXX function!');
Alert() is simple to use and works on all browsers. But, it can become
tedious and isn’t great for reporting a lot of information.
Debugging with console()
console.log('Now in the XXX function!');
console.log('myVar is ' + myVar);
The console is another, less obtrusive way to track where you are in
the program, similar to alert().
Editors & extensions to check
out
Web-based Editors
https://thimble.mozilla.org/
http://brackets.io/
https://jsbin.com/?html,output
https://codeanywhere.com/
http://js.do/
http://codepen.io/pen/
https://jsfiddle.net/
Easy to Install Simple Editors [windows, mac, linux]
http://www.vim.org/download.php [windows, mac, linux]
https://notepad-plus-plus.org/ [windows]
http://www.barebones.com/products/textwrangler/ [mac]
IDEs (Integrated Development Enviroments)
https://netbeans.org/downloads/
http://www.aptana.com/
Extensions
http://chrispederick.com/work/web-developer/
http://getfirebug.com/
Browsers
Chrome: https://support.google.com/chrome/answer/95346?
hl=en
Firefox: https://www.mozilla.org/en-US/firefox/new/
Opera: http://www.opera.com/
Editors & extensions to check
out
Testing various browsers, extensions
and editors will help you find your
favorite setup.
Good luck, and happy scripting!

More Related Content

What's hot (20)

ODP
An Introduction to Windows PowerShell
Dale Lane
 
PDF
jQuery for beginners
Arulmurugan Rajaraman
 
PDF
Javascript
Momentum Design Lab
 
ODP
HTML5
Hatem Mahmoud
 
PDF
JavaScript - Chapter 11 - Events
WebStackAcademy
 
PPT
Html & Css presentation
joilrahat
 
PPTX
An Introduction To REST API
Aniruddh Bhilvare
 
PPT
c#.Net Windows application
veera
 
PPT
Shell Scripting
Gaurav Shinde
 
PPTX
Bootstrap 5 ppt
Mallikarjuna G D
 
PPTX
HTML and Responsive Design
Mindy McAdams
 
PDF
Reactjs workshop (1)
Ahmed rebai
 
PDF
Laravel Introduction
Ahmad Shah Hafizan Hamidin
 
PPTX
jQuery from the very beginning
Anis Ahmad
 
PDF
Step by Step Asp.Net GridView Tutorials
Nilesh kumar Jadav
 
PPTX
Nodejs functions & modules
monikadeshmane
 
PDF
JavaScript - Chapter 13 - Browser Object Model(BOM)
WebStackAcademy
 
PDF
Pros & cons of svelte
ElenorWisozk
 
PPTX
Python/Flask Presentation
Parag Mujumdar
 
PPT
Php Lecture Notes
Santhiya Grace
 
An Introduction to Windows PowerShell
Dale Lane
 
jQuery for beginners
Arulmurugan Rajaraman
 
JavaScript - Chapter 11 - Events
WebStackAcademy
 
Html & Css presentation
joilrahat
 
An Introduction To REST API
Aniruddh Bhilvare
 
c#.Net Windows application
veera
 
Shell Scripting
Gaurav Shinde
 
Bootstrap 5 ppt
Mallikarjuna G D
 
HTML and Responsive Design
Mindy McAdams
 
Reactjs workshop (1)
Ahmed rebai
 
Laravel Introduction
Ahmad Shah Hafizan Hamidin
 
jQuery from the very beginning
Anis Ahmad
 
Step by Step Asp.Net GridView Tutorials
Nilesh kumar Jadav
 
Nodejs functions & modules
monikadeshmane
 
JavaScript - Chapter 13 - Browser Object Model(BOM)
WebStackAcademy
 
Pros & cons of svelte
ElenorWisozk
 
Python/Flask Presentation
Parag Mujumdar
 
Php Lecture Notes
Santhiya Grace
 

Viewers also liked (15)

DOC
practico1ºañovirtual
Graciela Fernandez
 
PDF
35874202 2308144-robert-bruce-manual-sobre-experiencias-fuera-del-cuerpo
Pepa Priego
 
PPT
Causas de la Primera Gurrea Mundial
yanecita_22
 
PDF
LOA%20Summer%20Camp%20Italy
Garland Diamond Sr
 
PPTX
Aprendizaje virtual
elenajimenezhernandez
 
PPTX
Style default2 white (3) (3
Universidad Tecnica de Ambato
 
PPTX
Docente-tutor-virtual
lebasiana07
 
PPTX
Programming Logic and Design: Working with Data
Nicole Ryan
 
PPTX
Tecnología Educativa
lebasiana07
 
DOCX
Fazlur khan
Dr. Ganesh Kame
 
PPTX
Navegadores web
elpoderpibe
 
DOC
отчёт о педагогической деятельности (1)
SVBaluev
 
PPTX
Oxygen and oxygen therapy
KGMU, Lucknow
 
PPTX
UV-VISIBLE SPECTROSCOPY
Ashwini Somayaji
 
practico1ºañovirtual
Graciela Fernandez
 
35874202 2308144-robert-bruce-manual-sobre-experiencias-fuera-del-cuerpo
Pepa Priego
 
Causas de la Primera Gurrea Mundial
yanecita_22
 
LOA%20Summer%20Camp%20Italy
Garland Diamond Sr
 
Aprendizaje virtual
elenajimenezhernandez
 
Style default2 white (3) (3
Universidad Tecnica de Ambato
 
Docente-tutor-virtual
lebasiana07
 
Programming Logic and Design: Working with Data
Nicole Ryan
 
Tecnología Educativa
lebasiana07
 
Fazlur khan
Dr. Ganesh Kame
 
Navegadores web
elpoderpibe
 
отчёт о педагогической деятельности (1)
SVBaluev
 
Oxygen and oxygen therapy
KGMU, Lucknow
 
UV-VISIBLE SPECTROSCOPY
Ashwini Somayaji
 
Ad

Similar to Setting up your development environment (20)

PDF
The DOM is a Mess @ Yahoo
jeresig
 
PPTX
Web technologies-course 08.pptx
Stefan Oprea
 
PPTX
Web technologies-course 07.pptx
Stefan Oprea
 
KEY
Enterprise Strength Mobile JavaScript
Troy Miles
 
PDF
Intro to JavaScript - Thinkful LA, June 2017
Thinkful
 
PDF
Special Edition Using Javascript Mcfedries
envoridala
 
PDF
Quo vadis, JavaScript? Devday.pl keynote
Christian Heilmann
 
PDF
Building a game with JavaScript (March 2017, washington dc)
Daniel Friedman
 
PDF
Special Edition Using Javascript Mcfedries
ontiwykt5351
 
PPTX
Introduction to Java script for web .pptx
FahimMousa
 
PDF
Special Edition Using Javascript Mcfedries
ddsinanku
 
PPTX
Buildmanagment tools mavenandgradle.pptx
praveena210336
 
PPTX
JavaScript Tools Overview
Scott Povlot
 
PDF
7 Simple Things I Learned about JavaScript
Charlie
 
PDF
Seven ways to be a happier JavaScript developer - NDC Oslo
Christian Heilmann
 
PDF
TOP 10 WEB APP TOOLS FOR EFFICIENT DEVELOPMENT.pdf
asiyahanif9977
 
PDF
Web Developer Tools
Mindfire Solutions
 
PPTX
Javascript mynotes
AntoniaSymeonidou1
 
PDF
Thinkful - Intro to JavaScript
TJ Stalcup
 
The DOM is a Mess @ Yahoo
jeresig
 
Web technologies-course 08.pptx
Stefan Oprea
 
Web technologies-course 07.pptx
Stefan Oprea
 
Enterprise Strength Mobile JavaScript
Troy Miles
 
Intro to JavaScript - Thinkful LA, June 2017
Thinkful
 
Special Edition Using Javascript Mcfedries
envoridala
 
Quo vadis, JavaScript? Devday.pl keynote
Christian Heilmann
 
Building a game with JavaScript (March 2017, washington dc)
Daniel Friedman
 
Special Edition Using Javascript Mcfedries
ontiwykt5351
 
Introduction to Java script for web .pptx
FahimMousa
 
Special Edition Using Javascript Mcfedries
ddsinanku
 
Buildmanagment tools mavenandgradle.pptx
praveena210336
 
JavaScript Tools Overview
Scott Povlot
 
7 Simple Things I Learned about JavaScript
Charlie
 
Seven ways to be a happier JavaScript developer - NDC Oslo
Christian Heilmann
 
TOP 10 WEB APP TOOLS FOR EFFICIENT DEVELOPMENT.pdf
asiyahanif9977
 
Web Developer Tools
Mindfire Solutions
 
Javascript mynotes
AntoniaSymeonidou1
 
Thinkful - Intro to JavaScript
TJ Stalcup
 
Ad

More from Nicole Ryan (20)

PPT
Testing and Improving Performance
Nicole Ryan
 
PPT
Optimizing a website for search engines
Nicole Ryan
 
PPT
Inheritance
Nicole Ryan
 
PPT
Javascript programming using the document object model
Nicole Ryan
 
PPT
Working with Video and Audio
Nicole Ryan
 
PPT
Working with Images
Nicole Ryan
 
PPT
Python Dictionaries and Sets
Nicole Ryan
 
PPT
Creating Visual Effects and Animation
Nicole Ryan
 
PPT
Creating and Processing Web Forms
Nicole Ryan
 
PPT
Organizing Content with Lists and Tables
Nicole Ryan
 
PPT
Social media and your website
Nicole Ryan
 
PPT
Working with Links
Nicole Ryan
 
PPT
Formatting text with CSS
Nicole Ryan
 
PPT
Laying Out Elements with CSS
Nicole Ryan
 
PPT
Getting Started with CSS
Nicole Ryan
 
PPT
Structure Web Content
Nicole Ryan
 
PPT
Getting Started with your Website
Nicole Ryan
 
PPTX
Chapter 12 Lecture: GUI Programming, Multithreading, and Animation
Nicole Ryan
 
PPTX
Chapter 11: Object Oriented Programming Part 2
Nicole Ryan
 
PPTX
Intro to Programming: Modularity
Nicole Ryan
 
Testing and Improving Performance
Nicole Ryan
 
Optimizing a website for search engines
Nicole Ryan
 
Inheritance
Nicole Ryan
 
Javascript programming using the document object model
Nicole Ryan
 
Working with Video and Audio
Nicole Ryan
 
Working with Images
Nicole Ryan
 
Python Dictionaries and Sets
Nicole Ryan
 
Creating Visual Effects and Animation
Nicole Ryan
 
Creating and Processing Web Forms
Nicole Ryan
 
Organizing Content with Lists and Tables
Nicole Ryan
 
Social media and your website
Nicole Ryan
 
Working with Links
Nicole Ryan
 
Formatting text with CSS
Nicole Ryan
 
Laying Out Elements with CSS
Nicole Ryan
 
Getting Started with CSS
Nicole Ryan
 
Structure Web Content
Nicole Ryan
 
Getting Started with your Website
Nicole Ryan
 
Chapter 12 Lecture: GUI Programming, Multithreading, and Animation
Nicole Ryan
 
Chapter 11: Object Oriented Programming Part 2
Nicole Ryan
 
Intro to Programming: Modularity
Nicole Ryan
 

Recently uploaded (20)

PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
community health nursing question paper 2.pdf
Prince kumar
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 

Setting up your development environment

  • 1. Setting up your development environment CST 214 – JavaScript Programming
  • 2. Things to consider when setting up your development environment: • Operating System • Language(s) supported • Specific Features
  • 3. Syntax Highlighting Syntax highlighting can be useful for debugging as it implicitly validates the syntax. Notice how the keyword Document with a capital D is not colored in the second image.
  • 4. Code Intelligence • Auto-balancing of characters and tags • Code completion • Tracking of variables and functions • Also minimizes possible errors.
  • 5. Other Features • Inline execution of code • Page templates • FTP support • Built-in debugger • Network monitor • WYSIWYG • Help system, manual, and documentation
  • 6. Coding Software Text Editors • Cheaper • Simpler • Easier to master • Faster to begin using • Less demanding of the computer • Can be used for many tasks IDEs • More expensive • More complicated • Requires more computer resources • Tend to be more specific • Better code intelligence • Better debugging • Faster development once mastered
  • 7. Coding Software Text Editors • Komodo Edit • UltraEdit • Notepad++ • EditPlus • TextMate • TextWrangler • BBEdit • Emacs • Vim IDEs • Adobe Dreamweaver • Komodo IDE • Aptana Studio • Eclipse • NetBeans • WebStorm
  • 8. What to Look For • DOM Inspector • JavaScript source viewer • Advanced JavaScript debugger • Network monitor • Error console
  • 9. Good Extensions for Chrome • Web Developer • Pendule • Firebug Lite • JavaScript Tester • Validity
  • 10. Useful Add-ons for Firefox • Firebug • Web Developer • YSlow! • Greasemonkey • View Source Chart • JS View
  • 11. Useful features of Internet Explorer • IE Developer Toolbar • Web Accessibility Toolbar IE is not as extendible. The IE Developer Tool bar is pretty good. It let’s you test running as different versions of IE. IE is best for testing final versions of code to make sure it’s compatible.
  • 12. The Opera Browser Opera is extendible but it’s built-in Dragonfly is really good. It has all the necessary features.
  • 13. Safari Safari has some extensions but its Web Inspector is sufficient, similar to Opera’s Dragonfly.
  • 14. JS Bin – A web based editor JS Bin (jsbin.com) allows you to write and test JavaScript online, without creating an entire Web page. JS Bin even works with variables frameworks. A more complex alternative is jsFiddle.
  • 15. Types of errors Syntactical Syntactical errors prevent JavaScript from running. Caused by improper syntax. Very common for beginners. Relatively easy to find and fix. Run-time Run-time errors occur during execution of JavaScript. Can be caused by referencing objects or methods that don’t exist. Can be browser-specific. Logical Logical errors are bugs. No actual error reported, just an unexpected result. Hardest to find and fix.
  • 16. Common causes of errors • Case Sensitivity • Improper Syntax • Misuse of = and == • Referencing objects that don’t yet exist • Treating objects as the wrong type
  • 17. Get a good text editor or IDE. Get a good development browser. Keep the error console open! Validate your JavaScript code. Practice rubber duck debugging. Good debugging techniques
  • 18. Debugging Techniques • Use external JavaScript files • Save the file and refresh the browser. • Try a different browser. • Take a break!
  • 19. Bad debugging techniques • Panicking! • Ignoring error messages • Trying random solutions • Not taking breaks
  • 20. Debugging with alert() alert('Now in the XXX function!'); Alert() is simple to use and works on all browsers. But, it can become tedious and isn’t great for reporting a lot of information.
  • 21. Debugging with console() console.log('Now in the XXX function!'); console.log('myVar is ' + myVar); The console is another, less obtrusive way to track where you are in the program, similar to alert().
  • 22. Editors & extensions to check out Web-based Editors https://thimble.mozilla.org/ http://brackets.io/ https://jsbin.com/?html,output https://codeanywhere.com/ http://js.do/ http://codepen.io/pen/ https://jsfiddle.net/ Easy to Install Simple Editors [windows, mac, linux] http://www.vim.org/download.php [windows, mac, linux] https://notepad-plus-plus.org/ [windows] http://www.barebones.com/products/textwrangler/ [mac]
  • 23. IDEs (Integrated Development Enviroments) https://netbeans.org/downloads/ http://www.aptana.com/ Extensions http://chrispederick.com/work/web-developer/ http://getfirebug.com/ Browsers Chrome: https://support.google.com/chrome/answer/95346? hl=en Firefox: https://www.mozilla.org/en-US/firefox/new/ Opera: http://www.opera.com/ Editors & extensions to check out
  • 24. Testing various browsers, extensions and editors will help you find your favorite setup. Good luck, and happy scripting!

Editor's Notes

  • #6: FTP support is useful with JavaScript, as it’s primarily used for Web development and you’ll want to be able to move the finished or edited work online. WYSIWYG is also helpful with Web development in particular. Debuggers and network monitors are also available in browsers.
  • #9: Because JavaScript often does DOM manipulation, the ability to view the active DOM, not the initial DOM, is valuable. Ability to execute JavaScript inline Ability to set breakpoints, watch the values of variables and the flow of code. Network monitor is key to debugging Ajax transactions
  • #10: Web developer: HTML, CSS, JavaScript and more (see image) Pendule: similar to Web developer Firebug Lite: watered down version of the excellent debugger Validity: for validating HTML
  • #11: Firebug is one of the first and is still one of the best Web developer extensions Yslow! For checking a page’s performance (from Yahoo!) Greasemonkey: for executing additional JavaScript JS View, for viewing JavaScript source on the page
  • #17: Case sensitivity applies to almost everything: variables, functions, objects, etc. Syntax problems include an imbalance of quotation marks, parentheses, brackets, etc. The assignment and equality operators are frequently misused, which causes bugs. In the browser, it’s easy to reference an object that doesn’t yet exist. You’ll need to understand the program flow to fix this. You’ll sometimes see errors when you treat, for example, an object that’s not a string as if it were a string.
  • #18: Good development tools do a better job of minimizing and highlighting problems. Validation can be done at jslint.com or jshint.com Rubber duck debugging is an EXCELLENT approach.
  • #19: External JavaScript files are easier to edit and read, and line numbers can be more useful. Never forget to save your work and refresh the browser! Many problems are browser-specific. Use a different browser to confirm if it’s a general problem or a browser-specific one. Take a break to clear your head!