Do you prefer using the getElementsBy... functions or querySelector?
getElementsBy...
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
getElementsBy
#id
.class
aren’t those the exact same as CSS?
getElementsBy, but I think I’ll switch to querySelector the next time I’m doing something
getElementsByfunctions because i really hate the little stuff you have to add for selecting things withquerySelector(#idand.classspecifically) for some reasonaren’t those the exact same as CSS?