hidden html element block buttons code example
Example 1: how to hide div in html
document.getElementById('elementName').hide();
Example 2: toggle element javascript
document.querySelector("#test").hidden = true;
document.querySelector("#test").hidden = false;