DEV Community

Discussion on: The 3 most common DOM selectors

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Absolutely true, I have mentioned that querySelector is used to return the first element that matches the giving CSS selector.
Thank you and have a nice day!