0
Code to retain Website's "Dark Mode" after refreshing
I have a dark mode button on my website made using jQuery. When I refresh my website it losses its configuration and changes back to light mode automatically. Is there any code/script or something like cookies to fix it.
1 Antwort
0
Use a cookie; lookup "document.cookie"