+ 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

24th Sep 2020, 1:23 PM
Aditya Sonwane
Aditya Sonwane - avatar
3 Antworten
+ 1
Wrap this around init: window.onload=function(){ init(); }
24th Sep 2020, 1:30 PM
Oma Falk
Oma Falk - avatar
+ 1
Line 26.....give it a warm goodbye
24th Sep 2020, 1:42 PM
Oma Falk
Oma Falk - avatar
+ 1
Or just addEventListener('DOMContentLoaded', init);
24th Sep 2020, 6:35 PM
Ore
Ore - avatar