-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (30 loc) · 813 Bytes
/
index.html
File metadata and controls
30 lines (30 loc) · 813 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<div class="app">
<div class="pig">Hello</div>
<div class="pig">World</div>
<div class="pig">ham</div>
<div class="pig">js</div>
</div>
<body>
<script src="ham.js"></script>
<script type="text/javascript">
var test = ham('.app');
test.cook();
test.eat();
test.eat();
test.cook();
test.hunt('.pig');
test.cook().cook().eat().eat();
test.hidePigs();
test.showPigs();
test.piggyBath();
test.throwDirt('.pig', 'Hello World');
test.throwDirt('.pig');
</script>
</body>
</html>