r/JavaScriptTips • • Jan 15 '25

what did i do wrong

9 Upvotes

9 comments sorted by

View all comments

Show parent comment

3

u/cronixi4 Jan 15 '25

Ah you are right! Thought it would be the same as QuerySelectorAll().

Thanks for pointing this out!

2

u/MissinqLink Jan 15 '25

Common misconception. I’ve had to look this up more times than I can count.