Changing the style of an HTML element, is a variant of changing an HTML attribute:
document.getElementById("demo").style.fontSize = "35px";
Hiding HTML elements can be done by changing the display
style:
document.getElementById("demo").style.display = "none";
Showing hidden HTML elements can also be done by changing the display
style:
document.getElementById("demo").style.display = "block";