Javascript – My script works properly on Chrome, but not on Safari
The following script is the code for a dark mode toggle on my website. I don't really know Javascript (I only know Python), so writing this code was a challenge and it might be poorly written. But what it does…