I am trying to add JavaScript to my HTML / CSS, but have worked in circles.
My current setup is where the html, CSS and JavaScript files (2 files, my JavaScript code and jQuery code) are separate but linked to each other via an html page.
So here are my questions:
1) Have I set a link to jQuery code inside the html header? Or in my JavaScript code page?
2) Where does this code go? Html page or my javascript page?
$(document).ready(function(){
});
3) Above, under “code here,” they mean JavaScript code, right? Not my html code?
4) I read about initializing JavaScript code at the bottom of the html page. From what I take, I should not do this using the jQuery.ready function, right?