Night mode not working

Hi all

I’m following this tutorial:

I’ve followed it through, however when I check the box the page does not change. Here is the page code:

And here is the CSS:

The page is here:

Note that the checkbox is hidden on the page so users don’t see it, so you’ll need to go into inspector and unhide it.

What am I doing wrong?


Really not sure what is causing this - I’ve played around with it to no fix. :confused: