[Javscript] How Javascript interacts with HTML
What is a DOM? When we load a page into the browser, the browser parses the HTML & creates an internal model of the document. For each element in the HTML structure, the browser creates an object of it & this tree like structure of the all the objects is called Document Object Model (DOM) How to access