About "getElementById is not a function" in JavaScript
The error “TypeError: getElementById is not a function” happens for two common reasons (Based on StackOverflow users):
The capitalization of “Id” isn’t correct
Calling getElementById() on an element instead of the document object
✋ Update: This ...
lavary.hashnode.dev3 min read