forked from marthar/webfall-2015
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomework.html
119 lines (97 loc) · 3.37 KB
/
homework.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Homework</title>
<meta name="viewport" content="width=1024">
<link rel="stylesheet" href="dist/coderdeck-core.min.css" type="text/css">
<link rel="stylesheet" id='style-theme-link' href="src/css/coderdeck.css" type="text/css" >
<script src='dist/jquery.min.js'></script>
<script src="dist/modernizr.js"></script>
<link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css'>
<!-- Replace path with correct path to Modernizr file. -->
<script src='dist/jquery.min.js'></script>
<script src="dist/modernizr.js"></script>
</head>
</head>
<body class="deck-container">
<script type='text/coderdeck' id='coderdeck-default'>
<html>
<head>
<script src='src/jquery.min.js'>SCRIPTEND
</head>
<body>
CODE
</body>
</html>
</script>
<script type='text/coderdeck' id='coderdeck-style-example'>
<html>
<title>test</title>
<style>
CODE
</style>
<body>
<h1>I'm a H1 heading</h1>
<h2>I'm a H2 heading</h2>
<h3>Pargraph of text <p> here</p>
<div class='stuff'>I'm a div <div> with class "stuff"</div>
<div id='my-div'>I'm a <div> with id "my-div"</div>
</body>
</html>
</script>
<article class="slide slide-list">
<h2>Homework Review</h2>
<script>
(function($){
$.fn.shuffle = function() {
var allElems = this.get(),
getRandom = function(max) {
return Math.floor(Math.random() * max);
},
shuffled = $.map(allElems, function(){
var random = getRandom(allElems.length),
randEl = $(allElems[random]).clone(true)[0];
allElems.splice(random, 1);
return randEl;
});
this.each(function(i){
$(this).replaceWith($(shuffled[i]));
});
return $(shuffled);
};
})(jQuery);
function shuffleHomework(amt) {
if(amt <= 0) return;
$("#homework li").shuffle();
setTimeout(function() { shuffleHomework(amt - 1); },200);
}
</script>
<a href='javascript:shuffleHomework(10);'>Shuffle</a>
<ul id='homework'>
<li><a href='http://aealmeida.github.io/homework/'>Alfred Almeida</a></li>
<li><a href='http://AJAlphonse.github.io/homework/'>Austin Alphonse</a></li>
<li><a href='http://nramaro.github.io/homework/'>Nathaniel Amaro</a></li>
<li><a href='http://svbazarian.github.io/homework/'>Stefanie Bazarian</a></li>
<li><a href='http://nmbenson.github.io/homework/'>Nicole Benson</a></li>
<li><a href='http://fanchen1231199.github.io/homework'>Fan Chen</a></li>
<li><a href='http://rlflynn.github.io/homework/'>Rachael Flynn</a></li>
<li><a href='http://hannaheko.github.io/homework/'>Hannah Ko</a></li>
<li><a href='http://emmakunz.github.io/homework/'>Emma Kunz</a></li>
<li><a href='http://eliseleeflang.github.io/homework/'>Elise Leeflang</a></li>
<li><a href='http://lilleyadaniel.github.io/homework/'>Daniel Lilley</a></li>
<li><a href='http://LauRo19.github.io/homework/'>Laura Mendez</a></li>
<li><a href='http://mariasoda.github.io/homework/'>Maria Sodano</a></li>
<li><a href='http://catchsparrow.github.io/homework/'>Catriona Sparrow</a></li>
</ul>
</article>
<script src='dist/coderdeck.min.js'></script>
<!-- Prettify -->
<script src="src/prettify.js"></script>
<script>
$(function() {
$.deck('.slide');
});
</script>
</body>
</html>