hide class element js code example
Example 1: javascript hide element by class
document.getElementsByClassName('class_name')[0].style.visibility='hidden';
Example 2: how to hide javascript element by class
document.getElementsByClassName('className')[0].style.visibility='hidden';