comment modifier la visibilité d'un élément javscript

const element = document.getElementById("id");	// Get element
element.style.visibility = "hidden";			// Hide element
element.style.visibility = "visible";			// Show element
const visible = element.style.visibility;		// Get visibility
>< this for me?