Javascript – The Basics

(Assignment links here & here)

Tutorials 

Problem Set

Blog Questions

  • You can link a Javascript file to an HTML file by using
<script src=javafile.js></script>

included in the HTML code. It can be placed in the head or the body, depending on when you want the Javascript code to run.

  • Code written in the console can be used for testing something or for finding an error in your code, but it is not saved like when you write HTML/JS in a text editor and then open it in Chrome.