Looking for a way to change the color of a div when a radio button inside it is selected. I have been searching for a solution and haven't found anything that works yet. I want to display two divs side by side, each saying "choose this plan", with a continue signing up button below them. When a user clicks on the radio button in one of the divs to select a membership plan, I want the styling of that div to change by applying a new background color and text color. However, I am struggling to make this functionality work.
If you have any suggestions or ideas, please let me know!