I have 4 files for my page - html.html, css.css, javascript.js, and jquery.js. In my jquery.js file I am having issues as when I use the starting code it comes up with an error in the console. Here is the code:
$(function(){console.log("works")});
For some reason this comes up in the console log:
Uncaught ReferenceError: $ is not defined
Anyone know why and how to fix it? I think it may be related to the shorthand of the "document" thing and maybe because it is a separate file it doesn't work.