An Introduction to querySelector() in JavaScript
querySelector()
querySelector() selects and returns the first element which matches the specified CSS selector.
document is an element interface which represents a webpage loaded in the browser and serves as an entry point into the webpage’s content...
aswathy.hashnode.dev1 min read