party movie

by Daniel Hall

HTML

<div id="body"><h1>the emjoe movie</h1></div>
<button id="button">highfive</button>
<button id="jailbreak">jailbreak</button>
<button id="mee">Gene</button>

CSS

#body {
	   background-color: red;
		 left: 0%;
		 top: 50%;
		 width: 100%;
		 height: 10%;
		 position: absolute;
}
body {
	   background-color: black;
}

JavaScript

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

function replaceIt() {
   alert("✋");
}

var jailbreak = document
   .getElementById("jailbreak");
jailbreak.addEventListener("click", replapeIt);

function replapeIt() {
   alert("👸");
}

var mee = document
   .getElementById("mee");
mee.addEventListener("click", replaxeIt);

function replaxeIt() {
  alert("😒");
}