-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (38 loc) · 1.18 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
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head><meta content="text/html;charset=UTF-8" http-equiv="content-type" />
<title>Click and kill: ClojureScript Version</title>
<style type="text/css">
body {
font-family: Helvetica Neue, Arial, Lucida Grande, sans-serif;
font-size: 13px;
line-height: 1.3;
}
.hole {
width: 100px;
height: 100px;
background: url("dirt.jpeg") no-repeat;
}
.holeWithMole {
background: url("mole.jpeg") no-repeat;
}
#score {
margin: 0 10px;
}
.scoreboard {
font-size: 20px;
}
</style>
<script src="jquery-1.9.1.min.js"></script>
<script src='target/cljsbuild-main.js'></script>
</head>
<body>
<div id="board">
<div class="hole"></div>
<div class="hole"></div>
<div class="hole"></div>
<div class="hole"></div>
</div>
<div class="scoreboard">Score is <span id="score">0</span></div>
</body>
</html>