You need querySelectorAll if you're going to iterate over the result. Also, "matches" is vauge.