Q:

button that hides or reveals

//To hide an element, set the style display property to “none”.
document.getElementById("element").style.display = "none";

//To show an element, set the style display property to “block”.
document.getElementById("element").style.display = "block";
0

New to Communities?

Join the community