0
please help, why querySelectorAll not working, and even get element by class name also not working,
3 Answers
+ 3
querySelectorAll() and getElementsByClass() returns array like object. To access individual element you need to provide index.
a[0].style.display="none"
+ 2
th35kyb0y ,
You are welcome :)
0
š®š³Omkarš thanks bro now it's working, I forgot the basics