-
Notifications
You must be signed in to change notification settings - Fork 0
/
typing.html
76 lines (69 loc) Β· 3.39 KB
/
typing.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<title>Manabu | Typing in Kana</title>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="js/background.js"></script>
<script type="text/javascript" src="js/kana.js"></script>
<script type="text/javascript" src="js/keyboard.js"></script>
<script src="js/kanaScripts.js" defer></script>
<link rel="stylesheet" href="styles/manabuStyles.css" />
</head>
<body>
<div id="masterContainer" class="container-fluid">
<div class="background leftDiv"></div>
<div class="centerDiv">
<div id="mainBody">
<div>
<header>
<h1>γΎγͺγΆ</h1>
<h5>Manabu</h5>
<hr/>
<h4><em>Typing in Kana</em></h4>
</header>
</div>
<br/>
<nav style="margin-bottom: 1em;">
<ul style="list-style: none; margin: 0; padding: 0;">
<a class="btn btn-dark" href="index.html"><li style="font-size:larger;">Home</li></a>
<a class="btn btn-dark" href="chart.html"><li style="font-size:larger;">Chart</li></a>
<a class="btn btn-dark" href="cards.html"><li style="font-size:larger;">Cards</li></a>
<a class="btn btn-dark" href="typing.html"><li style="font-size:larger;">Keyboard</li></a>
</ul>
</nav>
<div class="container">
<textarea id="display" rows="2"
onkeydown="getKey(event)"
onkeyup="removeChar(event)">
</textarea>
</div>
<div class="container">
<button id="romajiSwitch" type="button" class="btn btn-control" onclick="switchRomaji()">Romaji</button>
<button id="kanaSwitch" type="button" class="btn btn-control" style="width:6em" onclick="switchKana()">Katakana</button>
<button id="shiftSwitch" type="button" class="btn btn-control" onclick="shift()">Shift</button>
<button type="button" class="btn btn-control" onclick="copyKana()">Copy</button>
<button type="button" class="btn btn-control" onclick="clearKana()">Clear</button>
<button type="button" class="btn btn-control" onclick="translateKana()">Translate</button>
</div>
<br/>
<div id="kanaView">
<div class="row justify-content-center">
<div class="col-12-xs">
<div id="keyboard"></div>
</div>
</div>
</div>
</div>
<div class="customFooter">
<a href="https://www.freepik.com/free-photos-vectors/background">Background vector created by macrovector_official - www.freepik.com</a>
</div>
</div>
<div class="background rightDiv"></div>
</div>
</body>
</html>