-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (37 loc) · 1.55 KB
/
index.html
File metadata and controls
48 lines (37 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head>
<title>CoderDojo Scotland Christmas</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<link href='http://fonts.googleapis.com/css?family=Nunito' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Mountains+of+Christmas' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container">
<h1>CODERDOJO SCOTLAND</h1>
<h2>CHRISTMAS 2013</h2>
<img id="logo" src="img/logo.png">
<p>Activate the winter magic (and the JavaScript) by typing the magic word "snow"</p>
<div class="push"></div> <!-- this is used as part of the "sticky footer" -->
</div> <!-- end container -->
<footer>
<p id="footer-text">Made at
<a href="http://coderdojoscotland.com/clubs/glasgow">Glasgow CoderDojo</a>,
<a href="http://coderdojoscotland.com/">CoderDojo Scotland</a>
</p>
</footer>
<script type="text/javascript" src="js/keypress.js"></script> <!-- add the keypress library -->
<script type="text/javascript" src="js/snowstorm.js"></script> <!-- add the snowstorm library -->
<script type="text/javascript">
/** when the sequence of letters is entered in the keyboard, it will call the function **/
keypress.sequence_combo("s n o w", function() { makeSnow(); }, true);
function makeSnow() {
/** when this function is called, the snowstorm will start **/
console.log("Begin snowing!");
this.snowStorm.start();
}
</script>
</body>
</html>