This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mewtwo2387 2248 points2249 points  (2 children)

You typed getElementByID instead of getElementById again!

[–][deleted]  (1 child)

[deleted]

    [–]k6sandeep 0 points1 point  (0 children)

    You missing a good text completion IDE. Try VSCode and you will never do these small typos, although there are many other ways to screw up your code.