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 d5053dfdf3e24c54f0dfbdac1ae4b6fefe765ce5
parent d067bd54b5ac0fafa853cee6972c4a2482482576
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Fri,  4 Dec 2020 18:46:36 -0800

Add Food vocabulary set.

Diffstat:
MREADME.md | 1+
Mjs/app.js | 6+++---
Mjs/filterInput.js | 2++
Mjs/reference.js | 6+++---
Mreference.html | 1+
Avocab/Food.csv | 42++++++++++++++++++++++++++++++++++++++++++
6 files changed, 52 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md @@ -25,6 +25,7 @@ Spanish-Quizzer comes with many vocabulary sets that can be filtered by word typ - Childhood (La Niñez) - Clothes (La Ropa) - Family (La Familia) + - Food (La Comida) - Health (La Salud) - House (La Casa) - Nature (La Naturaleza) diff --git a/js/app.js b/js/app.js @@ -157,9 +157,9 @@ function Load() { // Load CSVs Sets = []; - let setNames = ["Verbs", "Adjectives", "Adverbs", "Prepositions", "Transitions", - "Colors", "Days", "Months", "Questions", "Weather", "Family", "Clothes", - "Nature", "House", "Vacation", "Childhood", "Professions", "Health"]; + let setNames = ["Adjectives", "Adverbs", "Prepositions", "Transitions", "Verbs", + "Colors", "Days", "Months", "Questions", + "Childhood", "Clothes", "Family", "Food", "Health", "House", "Nature", "Professions", "Vacation", "Weather"]; for (let setName of setNames) { Papa.parse(`vocab/${setName}.csv`, { download: true, diff --git a/js/filterInput.js b/js/filterInput.js @@ -186,6 +186,7 @@ let filterInput = Vue.component("filterInput", { case "House": case "Vacation": case "Childhood": + case "Food": case "Health": break; } @@ -264,6 +265,7 @@ let filterInput = Vue.component("filterInput", { <option>Childhood</option> <option>Clothes</option> <option>Family</option> + <option>Food</option> <option>Health</option> <option>House</option> <option>Nature</option> diff --git a/js/reference.js b/js/reference.js @@ -41,9 +41,9 @@ function Load() { setTableHeight(); // Load CSVs - let setNames = ["Verbs", "Adjectives", "Adverbs", "Prepositions", "Transitions", - "Colors", "Days", "Months", "Questions", "Weather", "Family", "Clothes", - "Nature", "House", "Vacation", "Childhood", "Professions", "Health"]; + let setNames = ["Adjectives", "Adverbs", "Prepositions", "Transitions", "Verbs", + "Colors", "Days", "Months", "Questions", + "Childhood", "Clothes", "Family", "Food", "Health", "House", "Nature", "Professions", "Vacation", "Weather"]; for (let setName of setNames) { Papa.parse(`vocab/${setName}.csv`, { download: true, diff --git a/reference.html b/reference.html @@ -51,6 +51,7 @@ <option>Childhood</option> <option>Clothes</option> <option>Family</option> + <option>Food</option> <option>Health</option> <option>House</option> <option>Nature</option> diff --git a/vocab/Food.csv b/vocab/Food.csv @@ -0,0 +1,41 @@ +English,Spanish,Type +Bill,La cuenta,Noun +Bitter,Amargo,Adjective +Bowl,El plato hondo,Noun +Clean,Limpio,Adjective +Closed,Cerrado,Adjective +Cup,"La taza,El vaso",Noun +Cutlery,Los cubiertos,Noun +Delicious,Delicioso,Adjective +Dessert,El postre,Noun +Dirty,Sucio,Adjective +Drink,La bebida,Noun +Flavor,El sabor,Noun +Food,La comida,Noun +Fork,El tenedor,Noun +Full,Lleno,Adjective +Hunger,El hambre,Noun +Knife,El cuchillo,Noun +Main dish,La entrada,Noun +Menu,"El menú, La carta",Noun +Napkin,La servilleta,Noun +Open,Abierto,Adjective +Pepper,La pimienta,Noun +"Plate, Dish, Meal",El plato,Noun +Refreshment,El refresco,Noun +Reservation,La reserva,Noun +Restraunt,El restaurante,Noun +Rich,Rico,Adjective +Salt,La sal,Noun +Salty,Salado,Adjective +Satisfied,Satisfecho,Adjective +Saucer,El platillo,Noun +Sea food,Los mariscos,Noun +Sour,Agrio,Adjective +Spoon,La cuchara,Noun +Sweet,Dulce,Adjective +Table,La mesa,Noun +Thirst,La sed,Noun +Tip,La propina,Noun +To cook,Cocinar,Verb +Waiter,El camarero,Noun +\ No newline at end of file