Skip to content
Snippets Groups Projects
Commit eec53812 authored by Jen Looper's avatar Jen Looper
Browse files

quizzes are now graded as booleans

parent 7ed66da8
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
handleAnswerClick(isCorrect) { handleAnswerClick(isCorrect) {
this.error = false; this.error = false;
let nextQuestion = this.currentQuestion + 1; let nextQuestion = this.currentQuestion + 1;
if (isCorrect == "true") { if (isCorrect) {
//always 3 questions per quiz //always 3 questions per quiz
if (nextQuestion < 3) { if (nextQuestion < 3) {
this.currentQuestion = nextQuestion; this.currentQuestion = nextQuestion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment