Where does JavaScript code go?
Like stylesheets, Javascript code should go on an external page. In the assignment instructions, we ask you to name this page "assign2.js"
You attach the JavaScript file to your HTML page by adding
<script type="text/javascript" src="assign2.js"> </script>
This page will have all of your JavaScript functions, but remember that you will need to add the function calls onto the first page of your assignment in order for them to work.