-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (38 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<title>Routercise!</title>
<style>
.target {
animation-name: fade;
animation-duration: 0.4s;
animation-direction: alternate;
animation-iteration-count: infinite;
}
@keyframes fade {
from {opacity: 1;}
to {opacity: 0.2;}
}
.airwire {
stroke: black;
stroke-width: 0.01mm;
animation-name: fade;
animation-duration: 0.7s;
animation-direction: alternate;
animation-iteration-count: infinite;
}
.drcerror {
fill: red;
}
</style>
</head>
<body>
<div id="helptext"></div>
<button type="button" onclick="advanceToNextLevel()">Next Level</button>
<button type="button" onclick="startCurrentLevel()">Restart Level</button>
<svg id="svg">
<g id="root" transform="scale(5)"></g>
</svg>
<script src="routercise.js"></script>
</body>
</html>