Where does the JavaScript code go?

Only inside the script elementAnywhere inside the body element

Make sure to say that it goes only inside the script element.