loading...

re: Add Dark Mode to your Websites with CSS VIEW POST

TOP OF THREAD FULL DISCUSSION
re: How about using jQuery local storage?
 

I think loading jQuery is overkill to only keep a single value in a cookie or local storage.

I prefer to stay as close to W3C standards as possible : most of the time a commented code snippet can do the job as well, and greatly reduce potential security flaws versus any library.

That's true, pure JS often results better than libraries. Thanks! 😉👍

code of conduct - report abuse