-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (35 loc) · 1.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to Udacity Tribe! | Globe</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width">
<meta name="description" content="MeetUp Platform - enjoy and keep in touch!">
<meta name="authors" content="Andreas Daiminger, Mark Ayzenshtadt, Alyona Morozova">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/style.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container" align="center"></div>
</body>
<script src="main.js"></script>
<script>
var data;
var tribeNumber;
var ref = new Firebase("https://glowing-torch-2950.firebaseio.com/items");
ref.on("value", function(snapshot) {
data = snapshot.val();
tribeNumber = Object.keys(data).length;
console.log(tribeNumber + ' fellow udacity geeks have joined so far.');
console.log("Tribe data: ", data);
}, function (errorObject) {
console.log("The read failed: " + errorObject.code);
});
</script>