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;