+ 1
Error [Solved]
Can you fix it Console Uncaught TypeError: Cannot read property 'appendChild' of null Line: 14 https://code.sololearn.com/WVbBcsJbrWdc/?ref=app
3 Antworten
+ 1
Wrap this around init:
window.onload=function(){
init();
}
+ 1
Line 26.....give it a warm goodbye
+ 1
Or just
addEventListener('DOMContentLoaded', init);