-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscore.php
More file actions
44 lines (38 loc) · 949 Bytes
/
score.php
File metadata and controls
44 lines (38 loc) · 949 Bytes
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
<?php
session_start();
?>
<style>
body{
background-color: black;
color: white;
text-align: center;
}
span{
font-size: 4rem;
position: absolute;
top: 30%;
left:5%;
}
</style>
<script src="assets/js/particle/typed.js"></script>
<div id="particles-js">
<div id="typed-strings">
<span>Your Final Score is <?php echo $_SESSION['points'];?></span>
<span>Next Round will be on HackerRank, Stay tuned!</span>
</div>
<span id="typed"></span>
<script type="text/javascript">
var typed = new Typed('#typed',{
stringsElement: '#typed-strings',
backSpeed: 40,
typeSpeed: 50,
loop: true
});
</script>
<script src="assets/js/particles.js"></script>
<script src="assets/js/particle/demo/js/app.js"particle></script>
</div>
<?php
session_unset();
session_destroy();
?>