I’m unable to pass the survey form test although I’ve triple checked to make sure I meet the user story. I fail 3 of the tests. If anyone could have a look at the code at point out where I could be wrong, I’d be really grateful.
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36.
Try checking if your input id is same as id for any other div or another tag.
And give value attributes to your radio/checkbox fields, making sure that each of the radio /checkbox sets are included in their own groups, which in turn have a name attribute.
Thanks a lot for your help! With your suggestions I rechecked the id values of other elements and I removed a div with an id of name. That way I passed 16 tests.
For those that have problems with passing:
Inside the form element, I can select a field from one or more groups of radio buttons. Each group should be grouped using the name attribute
I suggest looking at the error that is thrown when you you run the test. For me I looked at it closer it seemed that the radio button didnt have the value attribute, which wouldnt let me pass the test.