maker net

by Daniel Hall

HTML

<h1>www.makernet.net</h1>
<hr>
<button id="button">make your net and save</button>
<div id="body"><body id="mass"></body></div>

CSS

h1 {
	  font-size: 3em;
}
#body {
	   background-color: gray;
		 left: 0%;
		 top: 40%;
     width: 100%;
		 height: 60%;
		 position: absolute;
}

JavaScript

var button = document
   .getElementById("button");
button.addEventListener("click", replaceIt);

function replaceIt() {
  var myMess = prompt("type in your net");
	document.getElementById("mass")
	  .innerHTML = myMess;
}