hey,
i have added a dark/light mode to a demo using the Finsweet Class Adder.
they have sent. me a script to remember the user preference even after refreshing or changing. page.
the problem is I believe I have. to replace some class’s or IDs on the script but I don’t know how to read the code.
- here is the published link.
- read-only link.
- and the add/remove classes script:
- and the script to remember the user preference:
any help to make this work would be very helpful.
thank is advanceHere is my site Read-Only: LINK
(how to share your site Read-Only link)
- and the script to remember the user preference: