News for hackers. Stuff that matters.
Re:An HTML Switch Control by extra88 on Saturday March 09, 2024 @01:55PM (#39653890)
A switch is not for choosing between two options. It has two states, on and off, and it should be named in a way that makes sense with that in mind ("Dark mode" not "Dark/Light").

A checkbox can actually have 3 states, checked, unchecked, indeterminate/mixed.

There are no comments on this comment yet.