nit: as we are re-using the same element, we can avoid multiple `querySelector` calls by storing the el reference in a global var