commit c72941f89b700d81488762ad9601c689bf6972be
parent e480cbc03c3273a58dc9e3f232944ed069e17220
Author: Asher Morgan <Asherfmorgan@gmail.com>
Date: Fri, 13 Mar 2020 17:49:20 -0700
Implement reverse mode.
Diffstat:
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -3,6 +3,7 @@ Quizzes you on spanish vocabulary through a web interface.
Try it [here](https://sites.google.com/view/Spanish-Quizzer).
## Features
+- Customize what you're prompted with.
- Customize what you answer with.
- View the correct answer when you make a mistake.
- Easily type accented characters (``` a` ``` is turned into ```รก```)
diff --git a/Spanish Quizzer.js b/Spanish Quizzer.js
@@ -75,6 +75,11 @@ function Start()
OutputTypes = [0];
break;
+ case "Reverse":
+ InputTypes = [0];
+ OutputTypes = [1,2,4,5,6,7,8,10,11,12,13,14,16,17,18,19,20];;
+ break;
+
default:
InputTypes = [1,2,4,5,6,7,8,10,11,12,13,14,16,17,18,19,20];
OutputTypes = [0];
diff --git a/index.html b/index.html
@@ -23,6 +23,7 @@
<option value="Present">Present Tense</option>
<option value="Preterite">Preterite Tense</option>
<option value="Imperfect">Imperfect Tense</option>
+ <option value="Reverse">Reverse</option>
</select>
<br/>
<button onclick="Start()">Start</button>