+ 1

What is the problem with sololearn console

I started to code but the console showed me errors in starting Pls tell what is the problem https://code.sololearn.com/WjlxvPq9DANa

7th Nov 2020, 11:10 AM
Raghu Rao
Raghu Rao - avatar
1 Respuesta
+ 3
Try wrapping your JS code in window.onload = () => {...} It is working for me, so that is what I assume your issue is. JS tab is loaded before the HTML meaning it is looking for elements not yet loaded.
7th Nov 2020, 11:14 AM
Russ
Russ - avatar