Do you prefer using the getElementsBy...
functions or querySelector
?
For some reason I prefer querySelector
lately
getElementsBy
functions because i really hate the little stuff you have to add for selecting things with querySelector
(#id
and .class
specifically) for some reason
aren’t those the exact same as CSS?
getElementsBy, but I think I’ll switch to querySelector the next time I’m doing something
querySelector