-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
97 lines (84 loc) · 4.17 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html class="loading">
<head>
<title>Anchorage Dog Name Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link href="styles.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Life+Savers:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface" rel="stylesheet">
<style>
.choose_mode #play,
.choose_mode #round,
.choose_mode #results,
.choose_mode #final_results { display: none }
.choose_mode #choose_mode { display: block }
.play #play,
.play #round { display: block }
.play #results,
.play #final_results,
.play #choose_mode { display: none }
.results #play,
.results #choose_mode,
.results #final_results { display: none }
.results #round,
.results #results{ display: block }
.final_results #play,
.final_results #round,
.final_results #choose_mode,
.final_results #results { display: none }
.final_results #final_results{ display: block }
</style>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56999250-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="choose_mode">
<div id="main">
<div id="title-block">
<h3>Anchorage<br>Edition</h3>
<h1>Dog Name <span class="undertuck">Game</span></h1>
</div>
<div id="loading"><img src="resources/runningDog.gif"> <br />Loading Dogs</div>
<noscript>Sorry, the dog name game requires javascript</noscript>
<div id="choose_mode">
<button class="dog-with-chubby-cheeks" onclick="chooseMode(false)">Easy Mode</button>
<button class="angry-bulldog-face"onclick="chooseMode(true)">Hard Mode</button>
</div>
<div id="round">
<h2 id="roundNumber"></h2>
</div>
<div id="play">
<h2>Which name is more popular for Anchorage dogs?</h2>
<button onclick="nameChosen(this.innerText)"></button>
<button onclick="nameChosen(this.innerText)"></button>
</div>
<div id="results">
<div id="gameNav" onclick="nextButton()">
<span id="result"></span><span id="next">Next »</span>
</div>
<div id="counts">
<div></div>
<div></div>
</div>
</div>
<div id="final_results">
<h2></h2>
<p><a id="twitter-link" target="_blank">Share on Twitter</a></p>
<p><a id="facebook-link" href="https://www.facebook.com/sharer/sharer.php?u=http%3A//codeforanchorage.org/dog-name-game/" target="_blank">Share on Facebook</a></p>
<p><a id="adoptapet-link" href="http://www.muni.org/Departments/health/Admin/animal_control/Pages/AdoptingaPet.aspx" target="_blank">Adopt a Pet</a></p>
<p><a id="register-link" href="http://www.muni.org/Departments/health/Admin/animal_control/Pages/license.aspx" target="_blank">License/Renew your dog to get in the game</a></p>
<button class="prize-badge-with-paw-print" onclick="initialize()">Play Again</button>
</div>
<!-- <script src="dogs.js"></script> -->
<script src="dogIconClasses.js"></script>
<script src="index.js"></script>
</div>
<div id="footer">Made by <a href="http://codeforanchorage.org">Code for Anchorage</a></div>
</body>
</html>