-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (30 loc) · 1.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!doctype html>
<html>
<head>
<title>Haunted House</title>
<link type="text/css" rel="stylesheet" href="/assets/css/style.css"/>
</head>
<body>
<div>
<h1>Welcome to the Pit of Despair</h1>
<h2>Are you Brave Enough to Enter?</h2>
<input type= 'button' class='no' value="No, I'm too Scared!" />
<input type="button" class="yes" value ="Yeah I am! Bring It!" />
</div>
<img src="http://www.robgolfi.com/wp/wp-content/uploads/haunted_house.png" width="100%" height="100%">
<script type="text/javascript" src = "/socket.io/socket.io.js"></script>
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<script src = "/assets/js/script.js"></script>
<script>
$(document).ready(function(){
console.log("ready");
$('.no').click(function(){
window.location.href= "http://www.buzzfeed.com/michelleregna/scaredy-cats";
});
$('.yes').click(function(){
window.location.href = "/house.html";
});
})
</script>
</body>
</html>