We have many DOM methods to save html elements in JS variables. In this blog, I will be explaining how method "querySelector" works. And how we can select elements more specifically using this method. How querySelector() works? Consider a simple html...

Markdown supported · ⌘↵ to post
Geeta Pogul
Very well explained.👌