get all elements by class and hide code example
Example: how to hide javascript element by class
document.getElementsByClassName('className')[0].style.visibility='hidden';
document.getElementsByClassName('className')[0].style.visibility='hidden';