Go/html Show/hide div when checkbox is selected

I’m pretty sure the question is if it is possible to get rid of the jquery/javascript and use just go to show and hide the a div.

I can’t think of an easy way to do it.