Jquery not working in codeplayground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Jquery not working in codeplayground

Hi everyone I copied and pasted a to do list I created with HTMl,CSS & JS with jquery. but the js and jquery doesn't seem to work. all I get is the html and the css styling. How do I go about this ? thanks Dylan

30th Oct 2018, 7:54 AM
dylan britz
dylan britz - avatar
5 Answers
+ 5
In the Code Playground, the scripts in the JS tab are run before the document loads. You will need to defer it (window.onload for example).
30th Oct 2018, 8:21 AM
Janning⭐
Janning⭐ - avatar
+ 4
It should work, maybe you didn't include the HTML <script> tag in the HTML file?
30th Oct 2018, 8:08 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
thanks mate
30th Oct 2018, 8:23 AM
dylan britz
dylan britz - avatar
+ 2
I made this just for this purpose https://code.sololearn.com/WlA8Fx8bl6nI/#
30th Oct 2018, 8:29 AM
KrOW
KrOW - avatar
+ 1
I did but I even used a cdn to connect jquery but when I run the app I don't get any error all I get is a styled html app with no functionality. just a disclaimer I did design it in sublime first not in code playground and it seemed to work perfectly in my browser.
30th Oct 2018, 8:16 AM
dylan britz
dylan britz - avatar