
Hunger Solution
By:
Jeezus on
Jul 15th, 2012 | syntax:
HTML 5 | size: 0.45 KB | hits: 30 | expires: Never
<DOCTYPE html5>
<html>
<head>
<script type="text/javascript">
var Jeezus = prompt("Are you hungry?", "Maybe");
var apple = alert("You got an Apple!");
var thisIsFunny = alert("Suck a dick then, Motherfucker!");
function Hunger() {
if (Jeezus === "yes" || Jeezus === "Yes" || Jeezus === "YES") {
return apple;
}
return thisIsFunny;
};
</script>
</head>
<body>
<input type="button" onclick="Hunger()">Click on this shit!</input>
</body>
</html>