+ 1
Uncaught ReferenceError: $ is not defined (javascript)
I executed my code and and it displayed the error " Uncaught ReferenceError: $ is not defined" in line 7. This is the entire code on line 7 ""------ $("next").click(function(){ if(animating) return false; animating = true; ------"" is there anything wrong. help needed. you can find it here https://code.sololearn.com/WEN9i555M8Ql/#html
2 odpowiedzi
+ 3
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
Add this inside head tag
+ 2
Thanks Kartikey Sahu. I've got a little problem. The slide is not working to.. If you save and execute it in a normal browser it works fine but it doesn't run properly on sololearn