-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjudges.html
More file actions
51 lines (49 loc) · 1.97 KB
/
Copy pathjudges.html
File metadata and controls
51 lines (49 loc) · 1.97 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
50
51
<head>
<title>Intercode</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://cdn.firebase.com/js/client/2.4.1/firebase.js"></script>
<script type="text/javascript" src="js/jquery.lightbox_me.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
<script>
function authJudges(){
ref.authWithPassword({
email: "hackathon@koding.com",
password: "hack"
}, function(err, authData) {
if (err) {
ref.createUser({
email: "hackathon@koding.com",
password: "hack"
}, function(error, userData){
if (error) {
console.log("Error creating user:", error);
} else {
ref.child("users").child(userData.uid).child("active").push().set("default");
authJudges();
}
})
} else {
window.location.replace("learning.html");
}
})
}
</script>
</head>
<body>
<header id = "mainheader">
<h1>Intercode</h1>
<h2>The best way to learn coding is your way.</h2><br>
<h2>For the full experience (creating an account and starting from scratch), visit <a href="index.html">this page</a>.</h2>
<br><br><br><br>
<a class="button big" onclick="authJudges()">GET STARTED</a>
</header>
<section class="descriptor-wrapper">
<span class="descriptor">
Clicking the button above will automatically log you in to a shared judging account. This means that all of the units will be unlocked, and if you are not the first judge, there will likely be code that has been saved to your account. Again, if you wish to experience the project fully, we recommend visiting the <a href="index.html">main page</a> and creating an account (you can use a dummy email).<br><br>
Written by students of high school for students of code at <a href="https://hacksummit.org/">Hack Summit 2016</a>.
</span>
</section>
</body>
</html>