0

Why is the js code on the third illustration of Dom and Events displaying an uncaught error of childNodes when you invoke the fu

I was playing around with the exercise and wanted to test how effective the setTimeout function was by directly invoking the function setText() without it, After pressing the run button i realized that the code halts and displays an Uncaught TypeError: Cannot read property 'childNodes' of null. I'd love to dig deep on this glitch, I'll really appreciate any enlightenment on it.

3rd Aug 2020, 1:03 PM
Mwiti kelvin
Mwiti kelvin - avatar
1 Antwort
0
See the following post to understand better about it 👍 https://www.sololearn.com/post/90825/?ref=app
3rd Aug 2020, 2:18 PM
Ipang