I am having trouble using the checkbox hack

I am having trouble using the checkbox hack
0

#1

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>


#2

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