This might be a stupid question, as I have mainly worked in the Codecademy courses and I am just starting making my own projects.
I use Visual Studio Code. I am making a project composed of 3 files, .html, .js and .css.
In my project I am using some jQuery, it is properly referenced in the .html file, and if I run the project in the browser everything works (including the jQuery code).
ReferenceError: $ is not defined
I imagine this is because jQuery does not get referenced in the .js itself, and because of that VS Code has no idea what I am saying. Is this correct?
Is there something I can do, or some extra package I can install, that allows me to run the code in debug console?
The reason I would like to do this is that the console gives me exact line+description of the error, which makes fixing syntax errors and typos a breeze.