A toggle switch is a UI control that lets users turn something on or off — like enabling dark mode, turning notifications on, or switching between monthly and yearly billing. You see them everywhere in settings panels, mobile apps, and dashboards.
In this challenge, you will build an Interactive Toggle Switch from scratch. The switch must change its state when clicked, respond to keyboard input (Spacebar or Enter) when focused, and show a text label that updates instantly to reflect the current state.