-
Notifications
You must be signed in to change notification settings - Fork 1
/
game2.html
48 lines (45 loc) · 1.48 KB
/
game2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>SoccerJS 2019</title>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css?family=McLaren|Rajdhani|Righteous&display=swap"
rel="stylesheet"
/>
</head>
<body>
<audio src="./sounds/crowd.m4a" id="uefa" autoplay></audio>
<br />
<div class="container">
<div class="col1" id="score">
Score: <span id="score1">0</span><br />
<figure id="fig"><div>
<span id="sp">PLAY</span>
<span id="sp" class="start">PLAY</span></div>
</figure>
<figure id="fig"><div>
<span id="sp">Back to Main Menu</span>
<span id="sp"><a href="menu.html">Back to Main Menu</a></span></div>
</figure>
</div>
<div class="col2">
<canvas
id="example"
width="400"
height="400"
style="background-image: url('./images/soccer2.jpg') !important; width: 750px !important; height: 480px !important;"
></canvas
><br />
</div>
<div class="col3"></div>
.
</div></div>
<div id="score"><span id="score1"></span></div>
<script src="game2.js"></script>
<script src="script2.js"></script>
</body>
</html>