-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (41 loc) · 1.68 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Animal morse code</title>
<link href="https://fonts.googleapis.com/css?family=Indie+Flower" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="static/css/index.css" />
</head>
<body>
<img src="static/logo.svg" id="logo" onclick="location.href='https://ar1st0crat.github.io'" />
<img src="static/images/coding.png" width="40" style="position:absolute; top: 65px;" />
<div id="main">
<form>
<input type="text" />
<button type="button" id="say-button" onclick="play();">Say!</button>
<p>
<em id="played-message"></em><span id="decoded-message"></span>
</p>
<canvas id="inactive-visualize"></canvas>
<div id="tones">
<img src="static/images/morse-device.svg" class="tone" onclick="chooseTone(0);" />
<img src="static/images/cat.png" class="tone" onclick="chooseTone(1);" />
<img src="static/images/dog.gif" class="tone" onclick="chooseTone(2);" />
</div>
</form>
</div>
<a href="https://github.com/ar1st0crat">
<img src="static/images/github.png" id="github" alt="github.com/ar1st0crat"/>
</a>
<div id="about">
© 2017 Tim Sharii<br/>
art1st.prog<span id="filler">at</span>gmail.com
</div>
<script type="text/javascript" src="static/js/morse.js"></script>
<script type="text/javascript" src="static/js/index.js"></script>
<script type="text/javascript">
init();
</script>
</body>
</html>