summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html50
1 files changed, 15 insertions, 35 deletions
diff --git a/index.html b/index.html
index cac2203..cb79140 100644
--- a/index.html
+++ b/index.html
@@ -1,43 +1,23 @@
<!doctype html>
<html>
<head>
- <title>Learn Chinese Characters</title>
<meta charset="utf-8">
- <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
- <script src="characters.js"></script>
- <script src="index.js"></script>
- <link rel="stylesheet" href="style.css" />
- </head>
- <body>
- <div id="content">
- <h2 id="score">100.00%</h2>
- <h2 id="level">Level 1</h2>
- <h1 id="current-character"></h1>
+ <title>学汉字</title>
- <span style="width: 300px; display: block;">
- <input id="pinyin-input" type="text">
- </span>
-
- <span id="hint-span">
- <button id="hint-button">Hint</button>
- <span id="hint">?</span>
- </span>
- <br>
- <button id="reset-button">Reset</button>
- <br>
-
- <label>Level</label>
- <select id="level-select">
- </select>
- <br>
+ <!-- inferno scripts -->
+ <script src="https://unpkg.com/inferno@7.4.8/dist/inferno.min.js"></script>
+ <script src="https://unpkg.com/inferno-hyperscript@7.4.8/dist/inferno-hyperscript.min.js"></script>
- <label>Mode</label>
- <select id="mode-select">
- <option value="newchars">Level Characters Only</option>
- <option value="allchars">All Characters Up To Level</option>
- </select>
- <p> <b>Tips:</b> This game uses numbered pinyin, so for instance you would write '你' as 'ni3'. Additionally, 'ü' is written with as 'v'.</p>
- </div>
+ <!-- local scripts -->
+ <script src="./characters.js"></script>
+ <script src="./App.js"></script>
+ <script src="./main.js"></script>
+ </head>
+
+ <body>
+ <noscript>
+ <h1>You need JavaScript enabled to view this site.</h1>
+ </noscript>
+ <div id="root"></div>
</body>
</html>
-