-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstats.html
43 lines (39 loc) · 1.38 KB
/
stats.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
<html>
<head>
<link rel='stylesheet' type='text/css' href='style.css'/>
<script src="jquery.min.js"></script>
<script type="text/javascript" src="store.js"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="achievements.js"></script>
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no"/>
<meta charset="utf-8"/>
<title>Squane</title>
</head>
<style>
.line{
width: 98%;
margin-left: 1%;
margin-right: 1%;
background-color: #919191;
height: 1px;
}
</style>
<body style="overflow-y:scroll;" onload="setBg();">
<a href="menu.html"><img src="images/squane-logo.png" class="top-image"></a>
<div class="achievements_box">
<h2 style="text-align:center;">Achievements</h2>
</div>
<div style="text-align:left;color: #262626;" class="box">
<h2>Statistics</h2>
<div class="line"></div>
<h4><b>Highest level:</b> <span id="mlvl"></span></h4>
<h4><b>Highscore:</b> <span id="mscore"></span></h4>
<h4><b>Total games played:</b> <span id="totalgames"></span></h4>
</div>
<script type="text/javascript">
document.getElementById("mlvl").innerHTML=localStorage.getItem("mlvl");
document.getElementById("mscore").innerHTML=localStorage.getItem("mscore");
document.getElementById("totalgames").innerHTML=localStorage.getItem("totalgames");
</script>
</body>
</html>