So I converted an HTML page to javascript. The javascript is an HTML popup that I will like to activate once I click the button I want the popup to open on the same page as the button page meaning it will overlay the button... I am really out of my dept...I have been all over the net trying to figure this out...i really don't know what am doing...pls help.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://hairdrstl.com/Wall/file.js"></script>
</head>
<body>
<div id="maincontent">
<button id="button">Show Popup</button>
</div>
</body>
</html>