Binarics - Similar to the "querySelector()" method is the "querySelectorAll()" method. "querySelector()" only returns the first matching element, to return all matches use the "querySelectorAll()" method instead. You'll come to see that
![javascript - document.querySelectorAll() changing behavior after finding a specific element - Stack Overflow javascript - document.querySelectorAll() changing behavior after finding a specific element - Stack Overflow](https://i.stack.imgur.com/pMJN3.png)
javascript - document.querySelectorAll() changing behavior after finding a specific element - Stack Overflow
![querySelector vs getElementById – Guilherme Natal de Mello – A brazilian web developer currently living in Dublin querySelector vs getElementById – Guilherme Natal de Mello – A brazilian web developer currently living in Dublin](https://guinatal.github.io/images/posts/getElementById-image-2.png)
querySelector vs getElementById – Guilherme Natal de Mello – A brazilian web developer currently living in Dublin
![Using querySelector and querySelectorAll to fetch elements - Using JavaScript with Hype - Tumult Forums Using querySelector and querySelectorAll to fetch elements - Using JavaScript with Hype - Tumult Forums](https://forums.tumult.com/uploads/db2156/original/3X/9/a/9a9d7f89738e0e4e3bbce74b0da90b03cafc6a43.png)
Using querySelector and querySelectorAll to fetch elements - Using JavaScript with Hype - Tumult Forums
![QuerySelector() and QuerySelectorAll() DOM CSS Selector -Advanced JavaScript Tutorial Part - 59 - YouTube QuerySelector() and QuerySelectorAll() DOM CSS Selector -Advanced JavaScript Tutorial Part - 59 - YouTube](https://i.ytimg.com/vi/6Na3gOTB8cE/maxresdefault.jpg)
QuerySelector() and QuerySelectorAll() DOM CSS Selector -Advanced JavaScript Tutorial Part - 59 - YouTube
![Using querySelector and querySelectorAll to fetch elements - Using JavaScript with Hype - Tumult Forums Using querySelector and querySelectorAll to fetch elements - Using JavaScript with Hype - Tumult Forums](https://forums.tumult.com/uploads/db2156/original/3X/8/1/8113f8cf8fb45daba31ef33b7bb6d8cf61c43f57.png)