Do you prefer using the getElementsBy... functions or querySelector?

For some reason I prefer querySelector lately

comments (single view)

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?

View all comments