Manipulating functions error

showing Uncaught TypeError: cannot set property ‘innerHTML’ of Null

You declared the variable name as “MyVariable” where ‘M’ is capital so change the variable name in next line to “MyVariable”

1 Like