I want to change the background color of a toggle button when the toggle button is checked and vice versa.
How can I achieve that?
Check this solution: