0
Code not working on Sololearn mobile version
My code works fine on PC but when i try to open on mobile its not working. This is the link https://code.sololearn.com/WA3a15A4a13a
3 Antworten
+ 2
Hi! Use this:
window.onload = () => {
//you all code goes here
}
+ 2
Thank you very much guys it worked
+ 1
Doing exactly what Ярослав Вернигора(Yaroslav Vernigora) said should fix the issue!
Due to the order in which the HTML, CSS and are loaded, you might want to wrap your code around a window.onload event to make sure the HTML you want to manipulate with the JS is loaded
For load order, you might want yo check out this code by Kode Krasher
Krasha i couldn't find your code on load order, maybe you could link it?