+ 4

Why error occurs? (null)

"Cannot read property 'appendChild' of null" why this error occurs? please help... https://code.sololearn.com/WVE1P7l7D933/?ref=app https://code.sololearn.com/WVE1P7l7D933/?ref=app

3rd Jan 2018, 6:56 PM
Amadeus
Amadeus - avatar
2 Respostas
+ 3
add in the beginning of the JavaScript code and close it at the end window.onload=function(){
3rd Jan 2018, 7:06 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
thanks very much
3rd Jan 2018, 7:09 PM
Amadeus
Amadeus - avatar