getelementsbyclassname javascript only display code example
Example: getelementsbyclassname.style.display
document.getElementsByClassName('xyz')[0].style.display = 'none';
document.getElementsByClassName('xyz')[0].style.display = 'none';