javascript to display div code example
Example 1: javascript display block
document.getElementById("someElementId").style.display = "block";
Example 2: toggle element javascript
document.querySelector("#test").hidden = true;
document.querySelector("#test").hidden = false;