Answers for "hide element using class"

1

how to hide javascript element by class

document.getElementsByClassName('className')[0].style.visibility='hidden';
Posted by: Guest on June-15-2020
0

javascript hide elements by class

for (let el of document.querySelectorAll('.appBanner')) el.style.visibility = 'hidden';
Posted by: Guest on August-03-2021

Code answers related to "hide element using class"

Code answers related to "Javascript"

Browse Popular Code Answers by Language