pętla QuerySelelector

Array.from(document.querySelectorAll(".ClassName")).forEach(function(element) {
//Stuff
});
ayaan