Loop QuerySelector

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