The "document" object represents your web page. If you want to access any element in an HTML page, you always start with accessing the "document" object. Below are some examples of how you can use the ...
DOM (Document Object Model) 1. a) Document Object Model Source: W3Schools – JavaScript HTML DOM 2. c) getElementById() Source: TutorialsPoint – getElementById() 3 ...