spanish-quizzer

An app to quiz you on Spanish vocabulary and verb conjugations
git clone https://git.ashermorgan.net/spanish-quizzer/
Log | Files | Refs | README

commit ade622393607760fbc353288a678f23950f67325
parent ceafc762730375fa3f02e67d6bfdc1841b00d0f3
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Mon, 23 Mar 2020 12:10:58 -0700

Implement health vocabulary set.

Diffstat:
MREADME.md | 7++++---
MSpanish Quizzer.js | 8++++++++
Mindex.html | 16++++++++++++++++
3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -12,7 +12,7 @@ Try it [here](https://ashermorgan.github.io/Spanish-Quizzer/). ## Vocabulary Sets Spanish Quizzer currently supports the following vocabulary sets: -- Basics: +- Common Words: - Common Verbs (with conjugations) - Common Adjectives - Common Adverbs @@ -29,4 +29,5 @@ Spanish Quizzer currently supports the following vocabulary sets: - House (La Casa) - Vacations (Las Vacaciones) - Childhood (La NiƱez) - - Professions (Las Profesiones) -\ No newline at end of file + - Professions (Las Profesiones) + - Health (La Salud) +\ No newline at end of file diff --git a/Spanish Quizzer.js b/Spanish Quizzer.js @@ -133,6 +133,13 @@ function Load() { Sets[14] = results.data; } }); + Papa.parse("https://raw.githubusercontent.com/AsherMorgan/Spanish-Quizzer/master/Vocab/Health.csv", { + download: true, + complete: function(results) { + // Set verbs + Sets[15] = results.data; + } + }); } @@ -175,6 +182,7 @@ function Start() { Terms.push(...Filter.GetFilter(document.getElementById("settingsMode12").value).Apply(Sets[12])); Terms.push(...Filter.GetFilter(document.getElementById("settingsMode13").value).Apply(Sets[13])); Terms.push(...Filter.GetFilter(document.getElementById("settingsMode14").value).Apply(Sets[14])); + Terms.push(...Filter.GetFilter(document.getElementById("settingsMode15").value).Apply(Sets[15])); // Shuffle terms ShuffleTerms(); diff --git a/index.html b/index.html @@ -255,6 +255,22 @@ </select> </td> </tr> + <tr> + <td> + <label class="text" for="settingsMode15">Health</label> + </td> + <td> + <select id="settingsMode15" class="settingsFilter"> + <option value="None">None</option> + <option value="2FieldsAll">All</option> + <option value="2Fields1to2">English to Spanish</option> + <option value="2Fields2to1">Spanish to English</option> + <option value="2FieldsNouns">Nouns</option> + <option value="2FieldsVerbs">Verbs</option> + <option value="2FieldsAdjectives">Adjectives</option> + </select> + </td> + </tr> </table> <br/> <button id="settingsStart" onclick="Start()">Start</button>