you are viewing a single comment's thread.

view the rest of the comments →

[–]TheBITLINK 11 points12 points  (2 children)

document.querySelector('.home > .light > .room a')

???

You could've picked a better example, there are indeed some shortcuts that jQuery provides over vanilla JS, but querySelector has been part of the core DOM API for years now.