0

{SOLVED!} JavaScript + Html Error - Uncaught TypeError: Cannot set property 'innerHTML' of null Line: 10

I got this in my console: Uncaught TypeError: Cannot set property 'innerHTML' of null Line: 10 It won't show text when you run the code even though it is meant to... Here is the link to it: https://code.sololearn.com/WEn3dncQSUAP/#

27th Apr 2020, 8:28 PM
DevHaz
DevHaz - avatar
2 Answers
+ 4
https://www.sololearn.com/discuss/1557474/?ref=app
27th Apr 2020, 8:31 PM
Burey
Burey - avatar
+ 1
Thank you @Mirielle[Inactive] it helped a lot and now the error has gone.
28th Apr 2020, 9:25 AM
DevHaz
DevHaz - avatar