javascript hidden element code example
Example 1: set element hidden javascript
isHidden = HTMLElement.hidden;
HTMLElement.hidden = true | false;
Example 2: toggle element javascript
document.querySelector("#test").hidden = true;
document.querySelector("#test").hidden = false;