
All right, now, I'm on to radio buttons. So, here's my thinking. I want a page that has a single sentence and unchecked radio button. When checked, the div coversheet becomes hidden revealing the div corecharsheet sheet. Then a tab on the character sheet (called Close) that has another radio button. When you check that one, it should hide the div corecharsheet and bring back the div coversheet . When I first started outlining the sheet, I was using checkboxes before realizing that radio buttons were a thing. The buttons are clicking and unclicking correctly but I can't get the sheets to hide and I can't figure out why. Here's the HTML < div class = "charsheet" > < div class = "help" > < input type = "radio" class = "seriously" name = "attr_radio1" value = "01" hidden > < input type = "radio" class = "i-need-help" name = "attr_radio1" value = "02" hidden checked > </ div > < div class = "coversheet" > < input type = "radio" class = "seriously" name = "attr_radio1" value = "01" hidden > < div class = "sheet-intro" > I want a blank page here to hide the entire character sheet and a button to click that will reveal the entire character sheet and hide this page. < input type = "radio" class = "seriously" name = "attr_radio1" value = "01" > </ div > </ div > < div class = "corecharsheet" > < input type = "radio" class = "i-need-help" name = "attr_radio1" value = "02" hidden checked > < div class = "wands-charactersheet" > < input type = "radio" name = "attr_tab" class = "sheet-tab sheet-tab1" value = "1" checked = "checked" /> < span class = "sheet-tab sheet-tab1" > Core </ span > < input type = "radio" name = "attr_tab" class = "sheet-tab sheet-tab2" value = "2" /> < span class = "sheet-tab sheet-tab2" > Bio </ span > < input type = "radio" name = "attr_tab" class = "sheet-tab sheet-tab3" value = "3" /> < span class = "sheet-tab sheet-tab3" > Close </ span > < div class = "sheet-tab-content sheet-tab1" > < div class = "main-body" > This will be the core page with stats. </ div > </ div > < div class = "sheet-tab-content sheet-tab2" > < div class = "main-body" > This will be the bio with character information and any notes they want to take. </ div > </ div > < div class = "sheet-tab-content sheet-tab3" > < div class = "main-body" > < input type = "radio" class = "i-need-help" name = "attr_radio1" value = "02" checked > </ div > </ div > </ div > </ div > </ div > Here's the CSS @import url ( ' <a href="https://fonts.googleapis.com/css2?family=New+Rocker&display=swap" rel="nofollow">https://fonts.googleapis.com/css2?family=New+Rocker&display=swap</a> ' ); /*-----background-----*/ .charsheet { background-size : 100% ; width : 840px ; font-family : "New Rocker" , cursive; color : black ; } /*----------- Tabs Setup -------------*/ .charsheet div [ class ^= "sheet-tab-content" ] { /* tab essentials */ display : none ; padding : 10px ; /* tw */ /* end tab essentials */ background-size : 840px ; } .charsheet input.sheet-tab1:checked ~ div.sheet-tab1 , .charsheet input.sheet-tab2:checked ~ div.sheet-tab2 , .charsheet input.sheet-tab3:checked ~ div.sheet-tab3 { /* tab essentials */ display : block ; /* end tab essentials */ } .charsheet input.sheet-tab { /* tab essentials */ width : 150px ; /* tw */ height : 45px ; position : relative ; opacity : 0 ; z-index : 998 ; /* end tab essentials */ cursor : pointer ; background-image : url ( <a href="https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png" rel="nofollow">https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png</a> ); } .charsheet span.sheet-tab { /* tab essentials */ display : inline-block ; position : relative ; margin-left : -155px ; /* tw */ width : 150px ; /* tw */ /* end tab essentials */ vertical-align : middle ; height : 45px ; line-height : 45px ; cursor : pointer ; text-align : center ; /* Tabs when not clicked */ border : 2px solid black ; background-image : url ( <a href="https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png" rel="nofollow">https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png</a> ); } .charsheet input.sheet-tab1:checked + span.sheet-tab1 , .charsheet input.sheet-tab2:checked + span.sheet-tab2 , .charsheet input.sheet-tab3:checked + span.sheet-tab3 { /* Tabs when clicked */ border : 3px solid black ; font-size : 20px ; } /*----------- Tab Contents Styling -------------*/ div.sheet-intro { background-image : url ( <a href="https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png" rel="nofollow">https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png</a> ); background-repeat : no-repeat ; background-size : cover ; margin-left : auto ; margin-right : auto ; min-height : 500px ; color : black ; } div.sheet-tab1 { background-image : url ( <a href="https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png" rel="nofollow">https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png</a> ); margin-left : auto ; margin-right : auto ; min-height : 1000px ; color : black ; } div.sheet-tab2 { background-image : url ( <a href="https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png" rel="nofollow">https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png</a> ); margin-left : auto ; margin-right : auto ; min-height : 500px ; color : black ; } div.sheet-tab3 { background-image : url ( <a href="https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png" rel="nofollow">https://raw.githubusercontent.com/Scruffy518/Wands/main/vintage-background.png</a> ); margin-left : auto ; margin-right : auto ; min-height : 500px ; color : black ; } .charsheet .main-body { margin-left : auto ; margin-right : auto ; color : black ; } .charsheet input#seriously:checked ~ .sheet-intro { display : none ; } .charsheet input#i-need-help:checked ~ .wands-charactersheet { display : none ; } Am I missing something with the radio buttons or messing up the CSS? (Sorry about the radio button classes lol my friend and I just couldn't think of what to call them so we just put something stupid in it :P)