Can someone tell me why it says "Cannot read property childNodes of null"? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Can someone tell me why it says "Cannot read property childNodes of null"?

I've been staring at this for a long time but as far as I can tell my "par" variable is completely valid. https://code.sololearn.com/WI0DCYccz8Ib/?ref=app

19th May 2020, 7:16 PM
Jordan Powers
2 Respuestas
+ 3
Some extra info that may help https://code.sololearn.com/WcdoF4PGPyDC/#html
19th May 2020, 8:41 PM
ODLNT
ODLNT - avatar
+ 1
The document is not ready while executing the code. Use onLoad event attribute of body or jQuery's ready. https://code.sololearn.com/WgIYruSt82PG/?ref=app
19th May 2020, 7:55 PM
Manu_1-9-8-5
Manu_1-9-8-5 - avatar