why querySelectorAll doesn't let addEventListeners
/* Adding animation to a class called home */
const home= document.querySelector('.home')
const animate= document.querySelectorAll('.class_name');
animate.forEach(any_name =>
any_name.addEventListener('click', function () {
home.style.animation = "your animation";
}));