js element.display code example
Example 1: display none js
document.getElementById("myDIV").style.display = "none";
Example 2: how to make a div appear onclick
function showDiv() {
document.getElementById('sign-in').style.display = "block";
}
document.getElementById("myDIV").style.display = "none";
function showDiv() {
document.getElementById('sign-in').style.display = "block";
}