# Shuffle answers

Set the `shuffle` prop to randomise the order of a choice quiz's answers. The shuffle happens in the browser on every
load, so readers see a different order each visit, which helps stop people memorising answer positions rather than the
content.

<Quiz id="shuffle-demo" shuffle>
Which is the largest planet in the Solar System?

- [x] Jupiter
- [ ] Earth
- [ ] Mars
- [ ] Mercury

</Quiz>

```mdx title="quiz.mdx"
<Quiz shuffle>
Which is the largest planet in the Solar System?

- [x] Jupiter
- [ ] Earth
- [ ] Mars
- [ ] Mercury
</Quiz>
```

Reload the page a few times to see the order change. Correct-answer tracking and saved progress are both preserved
regardless of display order.

:::note
Shuffling applies to choice questions only; fill-in-the-blank questions have no answers to reorder.
:::