2 ms·`queySelector` only returns the first matching element (according to Mozilla docs).by jsprogrammer 10y ago`queySelector` only returns the first matching element (according to Mozilla docs).