New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How can I defined $ at the Javascript?
1 Answer
+ 3
you are using jquery without adding the jquery library
add this to your html..
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>