0

How to fix this error 'cannot set properties of null (setting 'innerhtml')'?

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

25th Jul 2022, 3:56 PM
Wage
Wage - avatar
2 Answers
+ 3
The Window: load event And a function. Should get it working. window.onload = function myFunction(){ let klik = document.getElementById("isi"); klik.innerHTML = "taik"; }
25th Jul 2022, 4:27 PM
Chris Coder
Chris Coder - avatar
+ 1
Thank you. It is works
25th Jul 2022, 4:33 PM
Wage
Wage - avatar