Not Functional [SOLVED] | Sololearn: Learn to code for FREE!

+1

Not Functional [SOLVED]

When I run a code that has jQuery in it, it shows a dollar sign at the console log telling me that $ is not a function and my data is on. I've cleared the cache, I added the jQuery reference to the script tag but nothing worked what do I do now?

1/12/2021 4:52:43 PM

QOG

4 Answers

New Answer

+5

Just add a reference to the JQuery source before your script:

+2

Aditya[Less active], I did add the jQuery reference but nothing worked

+1

Jadene & Kayla Onobun it needs to be added before the script tag where you write your own code. If you're writing in SoloLearn, try putting it in head instead of body.

+1

BlazingMagpie, I did add the jQuery reference to the script tag but nothing worked