`querySelector` only returns a single node (the first matching element), whereas `getElementsByTagName` returns a *live* NodeList. They are not interchangeable.