0
I wrote my code on another editor and when i copy paste it to sololearn it gives me errors there isnt any syntax error.
8 Answers
+ 4
It's because your js code gets loaded before your html code.
Add this and see
window.onload=function(){ -- put your code here }
+ 6
it's working. I made some corrections
https://code.sololearn.com/WJ45uKbwA470/?ref=app
+ 4
Save that code anyway.
And post it here along with your question
+ 4
The dom must fully load before the js code gets activated
+ 4
Sami Yemane de nadađ
+ 2
Can you provide the code in dis?
+ 1
Thank you mr mornigstar
0
I just posted the code it is a little bitt too long but it is well commented