-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (61 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style/main.css">
<meta charset="UTF-8">
<title>Iceland.io</title>
</head>
<body>
<!-- Logo -->
<h1 class="logo">Iceland.io</h1>
<!-- Left hand menu -->
<div class="gamemenu">
<p clas="guesslabel">Try and find:</p>
<h2 id="currentguess"></h2>
<p class="poplabel">With a population of:</p>
<h3 id="currentpop"></h3>
<div class="currscoreboard">
<p id="turn">3</p>
<b>/</b>
<p>10</p>
</div>
<div class="scoreboard">
<p id="score"></p>
<p id="allscore"></p>
<button id="nextguess">NEXT</button>
</div>
</div>
<!-- Settings cog -->
<div class="settings">
<img src="http://www.clker.com/cliparts/V/u/o/j/G/b/white-cog-md.png" alt="">
</div>
<div class="settingspanel">
<p>Difficulty level</p>
<ul>
<li id="diffeasy" class="active">Easy</li>
<li id="diffmedium">Medium</li>
<li id="diffhard">Hard</li>
</ul>
</div>
<!-- Infopanel topright -->
<div id="map"></div>
<!-- End of game message -->
<div class="endmsg">
<p>You scored:</p>
<h2 id="finalscore"></h2>
<button onClick="resetGame()">Try again!</button>
</div>
<script src="script/map.js"></script>
<script src="script/cities.js"></script>
<script src="script/game.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBnE8WcoTtphaCa72byY1Eq0m66kv-QI8Y&callback=initMap"></script>
<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-100322654-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>