Help with passing tests for survey form project

I am having trouble understanding why my pen will not pass the last three tests. If someone could give me some pointers I would really appreciate the help.
FCC: survey form

Thank you for being a Beta tester. Here is the link to report a bug.

When I click to see the test results I see this:

AssertionError: There should be at least 2 checkboxes inside the form : expected 0 to be at least 2

That leads me to look at your checkboxes, but I see this just above them:

<form>
  <input type='radio' name='recommendation' value='Yes!'> Yes! <br>
  <input type='radio' name='recommendation' value='Maybe'> Maybe <br>
  <input type='radio' name='recommendation' value='No!'> No! <br>
</form>

So it looks like you’ve nested forms and as a result, the checkboxes are “outside” the form.

Finally, all the checkboxes should have a “name” attribute and it should be the same for each one.

If you correct those two things, you pass all 17 tests.

1 Like

Went back as you suggested and got rid of the nested form, the survey now passes every test. Thank you for taking the time to help me with my problem.

Glad I could help. Please mark my answer as the solution.