What errors in this code?Why arg 1 is node type? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What errors in this code?Why arg 1 is node type?

https://code.sololearn.com/WAV9uc2u4X7u/?ref=app

2nd Oct 2020, 2:06 PM
DBSR🌹🌹
DBSR🌹🌹 - avatar
2 Answers
+ 3
It is... Wrap a window.onload = function(){ //your code } around js Dom is not loaded when executing your code
2nd Oct 2020, 2:37 PM
Oma Falk
Oma Falk - avatar
+ 1
Thank you
2nd Oct 2020, 2:49 PM
DBSR🌹🌹
DBSR🌹🌹 - avatar