-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (44 loc) · 1.36 KB
/
index.html
File metadata and controls
49 lines (44 loc) · 1.36 KB
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
<!--
Copyright (c) 2017-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the license found in the
LICENSE file in the root directory of this source tree.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>
<!-- build:js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://connect.facebook.net/en_US/fbinstant.6.3.js"></script>
<script src="script.js"></script>
<canvas id="canvasShare"></canvas>
<canvas id="canvas1"></canvas>
<div class="scoreContainer">
<h1>Score: <span id="score"></span></h1>
<h1>Time: <span id="timer"></span></h1>
</div>
<canvas id="canvas"></canvas>
<div class="audioIcons">
<img src="img/audio.png" alt="" id="audio" onclick="toggleAudio()">
</div>
<audio src="" id="gameSound"></audio>
<div class="leaderBoardContainer">
<div class="leaderboard">
<h1 id="scoreLabel"></h1>
<table class="scoreEntry">
<tbody id="scoreBody">
</tbody>
</table>
</div>
<div>
<button onclick="replay()">Replay</button>
<button onclick="share()">Share</button>
</div>
</div>
</body>
</html>