Sections
queryselectorall
1 thread tagged with this topic
Threads tagged queryselectorall
- ✓
querySelector or querySelectorAll: which one should I use?
Use querySelector when you need one element: it returns the first match, or null if there is none. Use querySelectorAll when you need every match: it returns a...
0replies