In my JS i"ve got an IF condition. I want to be able to make a pop-up appear in my html page. How can I make the below pop up appear in javascript?
<a href="#x" class="overlay" id="welcome_message"></a>
<div class="popup">
<h2>Welcome</h2>
<p>blah blah...</p>
<div>
<label for="name">Name</label>
<input type="text" id="name" value=""/>
</div>
</div>