I am experiencing an issue with querySelectorAll.
Below is my code snippet:
$(window).load(
function() {
// Add animations
var wwa = document.querySelectorAll(".wwa-box");
if (window.innerWidth > 992) {
wwa.classList.add("bounceIn");
}
// WOW init
new WOW().init();
}
);
Console Output:
TypeError: wwa.classList is undefined
I aim to assign the class .bonuceIn to all elements with the class name .wwa-box.