The task is to Create a Set of Radio Buttons. I got everything right except one error message:
“Your radio buttons should be given the name attribute of indoor-outdoor.”
I can’t figure out what the problem is. The name attribute is set to indoor-outdoor or am I wrong?
I also noticed that you forgot to assign an id to each of your radio buttons. This way the for attribute in the label would “go nowhere”.
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 related input element. For example: