Esc

COMARK4014 · warning

comark/quiz/unknown-slot

Use only the slots of ::question and ::recall

A question reads #hint and #explain, and a recall card #answer; a poll has no slots. A slot with any other name is dropped with its content.

Incorrect

::question{#falsy}
Which value is falsy?

- [x] `0`
- [ ] `[]`
  > Every object is truthy, empty arrays too.

#explanation
JavaScript has eight falsy values.
::
md
lint-comark example.mdexample.md:1:1 comark/quiz/unknown-slot::question 1 (#falsy): #explanation isn't a slot of ::question, so it's dropped. Did you mean #explain?Use #hint or #explain.✖ 1 problem

Correct

::question{#falsy}
Which value is falsy?

- [x] `0`
- [ ] `[]`
  > Every object is truthy, empty arrays too.

#explain
JavaScript has eight falsy values.
::
md
lint-comark example.md✔ No problems