- 1

What am i doing wrong ?

trying to make a to-do list https://code.sololearn.com/W0s30U9b6Q1u/?ref=app

3rd Jul 2017, 2:45 PM
JULIAN ANTHONY
JULIAN ANTHONY - avatar
6 Antworten
+ 1
you need to include the script for a framework or a library for it to work, in the head tag https://code.sololearn.com/WAJ5t1evZITN/?ref=app
3rd Jul 2017, 3:26 PM
Lord Krishna
Lord Krishna - avatar
+ 3
You're using jQuery but have the editor set to JS. That's first obvious thing.
3rd Jul 2017, 2:49 PM
AgentSmith
+ 1
At the top, click on where it says HTML/CSS/JS and change it to jQuery. That should do the trick for you.
3rd Jul 2017, 2:54 PM
AgentSmith
+ 1
thanks Krishna. it worked after few changes. https://code.sololearn.com/W0s30U9b6Q1u/?ref=app
3rd Jul 2017, 6:07 PM
JULIAN ANTHONY
JULIAN ANTHONY - avatar
0
does that mean that my code won't run in this app
3rd Jul 2017, 2:51 PM
JULIAN ANTHONY
JULIAN ANTHONY - avatar
0
There isn't any option to change it to JQUERY
3rd Jul 2017, 2:56 PM
JULIAN ANTHONY
JULIAN ANTHONY - avatar