COMARK4006 · error
comark/quiz/duplicate-id
Give each quiz block its own #id
Two blocks with one id share their saved answers and results, so answering one changes the other. Give each block an id of its own.
Incorrect
::poll{#lesson-poll}
What should the next lesson cover?
- [ ] Web Workers
- [ ] Streams
::
::poll{#lesson-poll}
How long should it be?
- [ ] Five minutes
- [ ] Fifteen minutes
:: lint-comark example.mdexample.md:8:1 comark/quiz/duplicate-idGive each block its own id.✖ 1 problem
Correct
::poll{#next-topic}
What should the next lesson cover?
- [ ] Web Workers
- [ ] Streams
::
::poll{#next-length}
How long should it be?
- [ ] Five minutes
- [ ] Fifteen minutes
:: lint-comark example.md✔ No problems