Add a proper README.md

This commit is contained in:
Taevas 2021-01-31 18:19:59 +01:00
parent 760e4f402e
commit 674fffe3b3
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
# KanaLearning
Despite being functional, KanaLearning is still very much WIP. It'll get a proper README.md once certain things are done.
KanaLearning is a webpage created to help people learn [Hiragana](https://en.wikipedia.org/wiki/Hiragana) and [Katakana](https://en.wikipedia.org/wiki/Katakana) through repeated failure, aka brute-forcing.
It may also be used to test out your way to [type in Japanese](https://www.coscom.co.jp/learnjapanese801/msime_win10_en1.html), by constantly switching through three different alphabets; Hiragana, Katakana & Romaji.
KanaLearning is currently available on [GitHub Pages](https://github.com/TTTaevas/KanaLearning).

View file

@ -110,7 +110,7 @@ function shapeQuestion(allow) {
return [element_one, element_two]
}
function checkAnswer() {
function checkAnswer() { // Japanese characters are /[\u3040-\u30ff]/ make it so people DON'T try to answer with the wrong alphabet
let answer_field = document.getElementById("answer_field")
let correct_answer_p = document.getElementById("correct_answer").getElementsByTagName('p')[0]
let positive = document.getElementById("positive")