This section of the curriculum is broken. I have entered in the exact line of code a 1/2 dozen times and it is not accepted. I have watched the video and written the code to specification. Watch the video provided for the video & compare my code. This is extremely frustrating!
Each of your two radio button elements should be nested in its own label element.
You need to follow the written example and nest your radio button elements inside of their corresponding labels.
Example from challenge description:
It is considered best practice to set a for attribute on the label element, with a value that matches the value of the id attribute of the input element. This allows assistive technologies to create a linked relationship between the label and the child input element. For example:
It is unfortunate that the video has not been updated to reflect the requirements. I did try (here is the issue) to get it updated but it never happened. I might ping the issue again just to give it one last go.
Anyway, you can’t use the code in the video to pass the test for the nested inputs. So do what @JeremyLT said to do.
I have mixed opinions on the video being slightly different. Yeah, we want our videos to be accurate, but at some point developers need to transition from videos to written documentation. The transition is rough but must occur at some point. I don’t mind explaining this point over and over to help that transition.
That I can agree with. I don’t think that the videos should be character for character walk-throughs of the solutions but rather instructional aids to help students think about and understand the material. If they give character for character solutions, then they defeat their purpose and encourage students to engage with the material less.