) in HTML.
I was wonderi
You should put JavaScript right before . Ideally, your HTML should function without JavaScript, so it should be one of the last things loaded.
Bear in mind that you should use CSS to hide elements and not JavaScript. This avoids seeing elements appear and disappear as the page loads.
You may also come across the following problem...
In this scenario, I'm going to use PHP as an example.
Your footer.php
file may currently look like this: