You should change getElementByID
to getElementById
(only one capital).
Normally, your JS should work then.
solved Any idea why my textContent does not change my “WELCOME” message? [closed]
You should change getElementByID
to getElementById
(only one capital).
Normally, your JS should work then.
solved Any idea why my textContent does not change my “WELCOME” message? [closed]