JavaScript for WordPress › Forums › Vanilla JavaScript › why use query selector › Reply To: why use query selector
June 8, 2016 at 3:24 pm
#6152
Jonathan Shyman
Participant
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!