how to change pre to display style in js code example Example: javascript display block document.getElementById("someElementId").style.display = "block";