+ 1
Uncaughr Reference error!
I have recently started learning Javascript. I came across this code which gets the coordinate of the mouse click. https://code.sololearn.com/WuHGcbiPohvr/?ref=app I am getting the above mentioned error, how can i resolve this?
5 odpowiedzi
+ 1
The code is using jQuery, You need to add cdn script to the html between the head tags
https://releases.jquery.com/
+ 1
ODLNT thanks it worked, i think there is some issue with code playground. When i included CDN in my system it is working properply.
+ 1
Glad to hear it, good luck with your project.
+ 1
ODLNT thanks
0
ODLNT I followed your advice, but it's still showing the same error