Answer:
You can do it inline:
(script type="text/javascript")
alert("Hi!");
(/script)
or use an external javascript file:
(script type="text/javascript" src="myhello.js")(/script)
Step-by-step explanation:
You can place these script tags inside the head or the body section.
See picture for actual tags.