lundi 1 juin 2020

i have proplem with js code querySelectorAll didn't work

i have proplem with js code querySelectorAll didn't work i try console.log("any text"); and it is work this code didn't work

nav = document.querySelectorAll("a");
console.log(nav)
nav.forEach(a => {
    console.log(a);
});



Aucun commentaire:

Enregistrer un commentaire