jQuery code doesn't work, Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

jQuery code doesn't work, Why?

I can run this on computer using Notepad. I copy this code to sololearn , It doesn't work. why? https://code.sololearn.com/WcLX7IJr2wT1/?ref=app

21st Jan 2019, 9:31 AM
sweetswing2460
2 Answers
+ 5
You should add the jQuery link at the HTML head tag and remove the <script> tags in the JS section. https://code.sololearn.com/WLSPdT2a70g9/?ref=app
21st Jan 2019, 9:47 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
0
Perfect answer,thankyou@Jonathan Pizarra
21st Jan 2019, 11:34 AM
sweetswing2460