JavaScript for WordPress Forums Vanilla JavaScript why use query selector Reply To: why use query selector

Jonathan Shyman

So I think I get it. Just to see the contrast, could you code out the same example without querySelector to see the difference? I think it would help to see the advantage with a side by side comparison, thanks!