DOM selectors. QuerySelectors Vs. getElementById
In the simple terms
DOM is a representation of your HTML to the browser and allows you to manipulate the page.
DOM Selectors, as the name suggests is used to select HTML elements within a document using JavaScript. There are 5 ways in which you can...
krishkp.hashnode.dev3 min read