Question: how to fix uncaught referenceerror jquery is not defined?
Answer: Step 1: Inclusion of jQuery Library. When you go through code, make sure that jQuery is included and will load before your script. ... 
Step 2: Structure of JavaScript File. ... 
Step 3: Ensure that jQuery is Loaded.