From 7a9e8c8ab37b9d10259c1cc2651ba058c59f7b0a Mon Sep 17 00:00:00 2001 From: sandipanpanda <87253083+sandipanpanda@users.noreply.github.com> Date: Sun, 27 Feb 2022 05:33:59 +0530 Subject: [PATCH] Fix quiz's correct option and non-rendering of bullet points under for loop (#612) * Fix rendering of bullet points under for loop * Fix correct option in Post-Lecture Quiz of for loop --- 2-js-basics/4-arrays-loops/README.md | 6 +++--- quiz-app/src/assets/translations/en.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/2-js-basics/4-arrays-loops/README.md b/2-js-basics/4-arrays-loops/README.md index ec7b40d9..8e575287 100644 --- a/2-js-basics/4-arrays-loops/README.md +++ b/2-js-basics/4-arrays-loops/README.md @@ -73,9 +73,9 @@ Loops allow for repetitive or **iterative** tasks, and can save a lot of time an ### For Loop The `for` loop requires 3 parts to iterate: - - `counter` A variable that is typically initialized with a number that counts the number of iterations. - - `condition` Expression that uses comparison operators to cause the loop to stop when `true` - - `iteration-expression` Runs at the end of each iteration, typically used to change the counter value +- `counter` A variable that is typically initialized with a number that counts the number of iterations +- `condition` Expression that uses comparison operators to cause the loop to stop when `true` +- `iteration-expression` Runs at the end of each iteration, typically used to change the counter value ```javascript // Counting up to 10 diff --git a/quiz-app/src/assets/translations/en.json b/quiz-app/src/assets/translations/en.json index e049bb6f..e20bae6a 100644 --- a/quiz-app/src/assets/translations/en.json +++ b/quiz-app/src/assets/translations/en.json @@ -710,7 +710,7 @@ "answerOptions": [ { "answerText": "condition", - "isCorrect": "true" + "isCorrect": "false" }, { "answerText": "counter", @@ -718,7 +718,7 @@ }, { "answerText": "iteration-expression", - "isCorrect": "false" + "isCorrect": "true" } ] },