You should place your javascript in a separate file and name it appropriately, e.g. script.js.
Then you should call for your script using the HTML:
<script src="script.js" type="text/javascript"<span>></script></span>
Answer:
The answer would be the middle
Explanation:
Hope this helps