# Fill-in-the-blank

Fill-in-the-blank questions let the reader type their answer. Wrap the expected answer in double square brackets:

<Quiz id="blank-single">
The capital of France is [[Paris]].
</Quiz>

```mdx title="quiz.mdx"
<Quiz>
The capital of France is [[Paris]].
</Quiz>
```

Answers are **case-insensitive** and surrounding whitespace is trimmed, so "Paris", " paris " and "PARIS" all pass.

## Multiple blanks

A question can have several blanks; every one must be correct:

<Quiz id="blank-multiple">
Water is made of hydrogen and [[oxygen]], with the chemical formula [[H2O]].
</Quiz>

```mdx title="quiz.mdx"
<Quiz>
Water is made of hydrogen and [[oxygen]], with the chemical formula [[H2O]].
</Quiz>
```

## Content section

Because there is no answer list to mark the boundary, a fill-in-the-blank quiz uses a horizontal rule (`---`) to
separate the question from a content section that is revealed after submitting:

<Quiz id="blank-content">
The chemical symbol for gold is [[Au]].

---

"Au" comes from the Latin _aurum_, meaning "shining dawn".

</Quiz>

````mdx title="quiz.mdx"
<Quiz>
The chemical symbol for gold is [[Au]].

---

"Au" comes from the Latin _aurum_, meaning "shining dawn".
</Quiz>
````

:::note
When the reader gets a blank wrong and [`showCorrect`](/starlight-quiz/guides/configuration/#showcorrect) is enabled
(the default), the correct answer is shown alongside what they typed.
:::