re: Create A Dark/Light Mode Switch with CSS Variables VIEW POST


Thanks for this great post Ananya. I followed the instructions and managed to get the page up and running. But i am getting a console log Error: script5007 unable to get property 'addEventListener' for undefined or null source. Could someone please help me with a solution. Thanks.

Code of Conduct Report abuse