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

Why mycode doesn't work on Sololearn Platform

Line 541 in the JS shows the warning “too many errors. (90% scanned) but the code is working fine. https://code.sololearn.com/WHRvFEuOlaM7/#js

24th Sep 2019, 11:46 AM
Danny Eeraerts
Danny Eeraerts - avatar
3 Answers
+ 2
Just wrap all of your js code inside: window.onload = function(){ your code here }
24th Sep 2019, 12:32 PM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
Yes, it works now. Thank you Thong Nguyen.
24th Sep 2019, 12:49 PM
Danny Eeraerts
Danny Eeraerts - avatar
+ 1
Please to help you!
24th Sep 2019, 12:55 PM
Thống Nguyễn
Thống Nguyễn - avatar