3. Event Handlers - way to connect that action to a function or a set of JavaScript codes to be executed
Where can you place Scripts
Head
Body
Head and Body
External JavaScript
External JavaScript
Very helpful especially if you are using them to control different HTML files, saves you from rewriting the same code
JavaScript Guidelines
Case Sensitive
White Space
Breaking up of code lines
JavaScript ignores white space as long as it is within the line of code, but it is a good practice to use white spaces between expressions to make your codes easier to read
You can break a code line by using a backslash ('\'), but do not break the code in between commands or else it will not work properly