Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> This isn't just a toy example either. The browser will automatically remember the checkbox state, meaning you can save the user's preference for free - try ticking the box and refreshing this page!

Aside from the typical complaints that you should be using prefers-color-scheme instead… This doesn’t work for me. Is it supposed to leverage autocomplete or something?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: