Run
Online Code Editor
JavaScript hide elements
Welcome to the javaTpoint.com
Using both style.visibility and style.display properties
This is the div element.
This is a paragraph element.
This is the heading after the paragraph element.
Click me!