mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-11 17:24:24 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
@@ -710,7 +710,7 @@
|
||||
"answerOptions": [
|
||||
{
|
||||
"answerText": "condition",
|
||||
"isCorrect": "true"
|
||||
"isCorrect": "false"
|
||||
},
|
||||
{
|
||||
"answerText": "counter",
|
||||
@@ -718,7 +718,7 @@
|
||||
},
|
||||
{
|
||||
"answerText": "iteration-expression",
|
||||
"isCorrect": "false"
|
||||
"isCorrect": "true"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user