You can put JavaScript code right into your HTML.
For example, I can use a <script>
tag and just
put JavaScript right in the middle of a paragraph like this one.
You might not notice, but there was a script between the sentences.
You can see the output from the script in the console.
Look into the HTML to find the JavaScript.