Update a website to support both light mode and dark mode with automatic system preference detection. You will be provided with a standalone HTML file as a starting point. Your solution should respect the user's system preference via prefers-color-scheme, include a manual toggle, and persist the user's choice.
challengeDifficulty Acssthemingaccessibility
Light & Dark Mode
Sign in to submit your solution.