⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

JavaScript querySelector()

The querySelector() method returns the first element within the document that matches the specified CSS selector. You can use it to search by classes (.class), IDs (#id), or tags (h1). If you want to select all matching elements, use querySelectorAll().

EXAMPLE
RESULT