JSFiddle - React, Tailwind, and code Playground

HTML

<details>
    <summary>I have keys but no doors. I have space but no room. You can enter but can’t leave. What am I?</summary>
    A keyboard.
</details>

CSS

summary {
  cursor: pointer;
}