What I would like to do is assign both the checked value and the click function to the radio input located inside the parent div. I currently have this code but it only work