computer (print)
by Daniel Hall
HTML
<p>
starting zac
</p>
<input id="adj1">
<button id="abutton">print</button>
CSS
body {
background-color: black;
}
p {
color: white;
}
#adj1 {
width: 60%;
color: green;
background-color: black;
}
JavaScript
var abutton = document
.getElementById("abutton");
abutton.addEventListener("click",replaceIt);
function replaceIt () {
alert("printing");
}