Build a custom on/off toggle switch — the iOS-style pill that slides between two states — from a plain <input type="checkbox">, styled entirely with CSS (no image assets).
This is a classic "style a native form control" exercise: the checkbox itself should still be a real, functional checkbox (for accessibility and keyboard support), just visually transformed.
Check your work against
There's no automated grading for UI challenges — self-check against this list, then compare with the solution preview.
Live preview