0

Sololearn isnt working correctly, why?

I use sololearn a long time, but today it started to freak, crash and it doesn't run some lines of code, it's both on the phone and computer, someone knows why? aka sorry for my English

1st Jan 2018, 1:33 PM
xAmir
xAmir - avatar
6 Réponses
+ 15
Rename function... You use submit on an html attribute this is the same as calling HTMLElement.submit() builtin method for forms... Perhaps this is the source of the problem or the dangerous toString(list.length)...
1st Jan 2018, 1:48 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 16
If you cause an infinite loop (or similars) on a webpage the whole js crashes/delays no matter what code you run afterwards... Close app, clear cache, restart... Same applies for browsers...
1st Jan 2018, 1:52 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
ok thanks
1st Jan 2018, 1:52 PM
xAmir
xAmir - avatar
+ 3
You can start by change line 5 to look like: for(t=0; t<list.length; t++) {
1st Jan 2018, 1:58 PM
Ipang
+ 2
Im working on a code, https://code.sololearn.com/WLD0AkUWYd6n/?ref=app, and it sometimes skips an alert or some other lines of code. in the computer the code has the same problem but after I run it it crushes, and in my profile, each time I click on one of my codes, it opens it and then freezes
1st Jan 2018, 1:39 PM
xAmir
xAmir - avatar
+ 2
thank you, but I still have the problem that the codes sometimes won't run and the site crashes
1st Jan 2018, 1:50 PM
xAmir
xAmir - avatar