I am having trouble using the checkbox hack

Link to the code: Codepen
I am creating a navbar that comes into view when the checkbox is checked. Since it didn’t work, for testing purposes I tried changing the background of the body with it but that didn’t work too. What is the error in the code>

I don’t see any JavaScript here at all. I’m also not seeing your checkbox.