First Survey cert question

Having trouble with this part

Every radio button group should have at least 2 radio buttons.
I get error here based on my code. I don’t know what it is asking. Not very clear.

      <p> Would you recommend free code camp to a friend? </p>
    <label><input type='radio'  class='inline' value='1' name='definitely'/>Definitely</label>
     <label><input type='radio'  class='inline' value='2' name='maybe'/>Maybe</label>
      <label><input type='radio' class='inline' value='3' name='not sure'/>Not sure</label>
<!DOCTYPE html>
<html lang="en">
  <head> <meta charset='utf-8'>
    <title> Registration Form </title>


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn HTML Forms by Building a Registration Form - Step 4

Link to the challenge:

I suggest you to edit your post.

You have wrong link to the step which is directed to Step 4 lesson and I believe you are not in the Step 4 lesson anymore based on the question you are asking.

Another thing is you need to include your whole code and do not edit the default.

Radio buttons are part of the same group if they have the same value for the name attribute. Your three radio buttons all have different values for the name attribute and thus they are not part of the same group.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.