X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/0dd3d6ee1167dc7d1dbd7f82aba7b197861377b0..7581b5c3f07dcb43414160f7c3b6a294ce838904:/word/multichoice.js diff --git a/word/multichoice.js b/word/multichoice.js index ca6843a..f0520f9 100644 --- a/word/multichoice.js +++ b/word/multichoice.js @@ -9,9 +9,11 @@ class WordMultiChoice extends WordQuiz { let answers = [word[0], this.words[0][0], this.words[1][0], this.words[2][0]] .shuffle() + this.log('ask', word[2], answers); answers.forEach(suggest => { let label = suggest.replace(/\/.*/, ''); let option = put(form, 'li', label, {onclick: () => { + this.log('pick', suggest, null, word[0]); if (suggest != word[0]) { // incorrect put(option, '.wrong');