-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameboard.html
41 lines (28 loc) · 1.25 KB
/
gameboard.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sonic Challenge</title>
<link href='./css/style.css' rel='stylesheet' type='text/css'>
<link href='./assets/logo.png' type='image png' rel='icon'>
<!--font--><link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<!--icons--><script src="https://kit.fontawesome.com/d2883e7411.js" crossorigin="anonymous"></script>
</head>
<body>
<!--Gameboard-->
<div class='background'>
<div class='time-and-score'>
<h3>SCORE: <span id='score'>0</span></h3>
<h3>HIGH SCORE: <span id='record'>0</span></h3>
</div>
<img src='./assets/player.gif' alt='Sonic' class='player'>
</div>
<!-- Audios -->
<audio src="./assets/intro.mp3" id='intro' type='audio/mp3'></audio>
<audio src="./assets/jump.mp3" id='jump' type='audio/mp3'></audio>
<audio src="./assets/died.mp3" id='died' type='audio/mp3'></audio>
<script src="./script/script.js"></script>
</body>
</html>