0
[Solved] In vs code and sololearn desktop version my code is working but in mobile version not. Please help. Tnx
2 Respostas
+ 3
Hey , your js code will run before the DOM even exist .
so you need to wait the DOM is fully loaded then run The script .
you can use
window.onload = () => {
// your code
}
0
Tnx now is everything OK.