I get an uncaught type error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I get an uncaught type error

When I run this https://code.sololearn.com/W2nL1rj0F4jN/?ref=app I get error this get the following message "Cannot read properties of Null Reading appendChild. Please help

15th Sep 2022, 10:32 AM
Gray Adamson
Gray Adamson - avatar
3 Answers
+ 4
id of <td> element contains lowercase (L) but you mis-typed it as '1' when passing it in btnFunction (third char from end) see id on line 65 and value on line 57
15th Sep 2022, 11:02 AM
Sandeep
Sandeep - avatar
+ 2
Thanks so very much, such a stupid mistake
15th Sep 2022, 11:48 AM
Gray Adamson
Gray Adamson - avatar
+ 2
Happens! ;)
15th Sep 2022, 12:13 PM
Sandeep
Sandeep - avatar