Need help on survey form!

When I run the tests using FCC test suite it tells me that;

  1. 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.
  2. Inside the form element, I am presented with a at the end for additional comments.’
  3. Inside the form element, I am presented with a button with id=“submit” to submit all my inputs.

For #1 I have a group of radios with the same name attribute yet it still will not pass the test.
For #2 & #3, when I wrote the code for the comment box and submit button, it appeared outside of the form, but I used the padding attribute to bring it back inside of the form, but this is causing it to fail the test. Any ideas??

here is the link : https://codepen.io/jamesriggleman/pen/WgWZpw

  1. I can’t see any radio buttons in your form. There are checkboxes, but no radio buttons.
  2. & 3. Line 84 you have closed a fieldset section with a div closing tag. Replace it with closing fieldset tag and it should pass.
1 Like