From eec5381217a65b8d4813bc3ed4cfc59456a9f78f Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Fri, 29 Apr 2022 18:21:26 -0400 Subject: [PATCH] quizzes are now graded as booleans --- etc/quiz-app/src/components/Quiz.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/quiz-app/src/components/Quiz.vue b/etc/quiz-app/src/components/Quiz.vue index cd947d2d..9734ec92 100644 --- a/etc/quiz-app/src/components/Quiz.vue +++ b/etc/quiz-app/src/components/Quiz.vue @@ -65,7 +65,7 @@ export default { handleAnswerClick(isCorrect) { this.error = false; let nextQuestion = this.currentQuestion + 1; - if (isCorrect == "true") { + if (isCorrect) { //always 3 questions per quiz if (nextQuestion < 3) { this.currentQuestion = nextQuestion;