google+-*+
google needs and new update to it.
by Daniel Hall
HTML
<h1>
google
</h1>
<button id="button">search</button>
<div id="body"><div id="mass">searching for</div>
CSS
body {
background-color: blacK;
}
h1 {
font-size: 6em;
color: blue;
left: 10%;
}
#body {
position: absolute;
left: 30%;
background-color: black;
top: 60%;
width: 30%;
height: 30%;
}
JavaScript
var button = document
.getElementById("button");
button.addEventListener("click", replaceIt);
function replaceIt() {
// Change the text color.
document.getElementById("body")
.style.color = "red";
var myMess = prompt("search a website");
document.getElementById("mass")
.innerHTML = myMess;
}