-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (39 loc) · 1.11 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Happy Bird</title>
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/index.css">
</style>
</head>
<body>
<div class='logo'>
<img src='res/logo.png' />
</div>
<div>
<div id=form>
<form>
<p>Add A Name For the Leaderboard</p>
<input type="text" id="fname" name="firstname" placeholder="Please Enter a Name...">
<input id=submit type="submit" value="Submit">
</form>
</div>
<canvas id='canvas'></canvas>
</div>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAe5-1qYIsfR_hpbhNSiyoGkT11TwZ6ulQ",
authDomain: "happy-bird-a08b3.firebaseapp.com",
databaseURL: "https://happy-bird-a08b3.firebaseio.com",
projectId: "happy-bird-a08b3",
storageBucket: "",
messagingSenderId: "885703992107"
};
firebase.initializeApp(config);
</script>
<script src='happy_bird.js'></script>
</body>
</html>