onclick and addEventListener doesn't seem to work in the code playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

onclick and addEventListener doesn't seem to work in the code playground

This code works completely fine on the web, but doesn't in the editor :/ web: wafflenet.ml/console sololearn: https://code.sololearn.com/WF193sL40X6u/#js

21st Jul 2018, 4:44 PM
Nagy Szabolcs
Nagy Szabolcs - avatar
1 Answer
0
Replace main.js with http://wafflenet.ml/main.js and it will work.
22nd Jul 2018, 1:11 AM
Janningā­
Janningā­ - avatar