Survey Form - Build a Survey Form

Tell us what’s happening:
Can someone help me out with this.
the “Every radio button group should have at least 2 radio buttons” got me stuck.
how can i fix this, its the only task left
Your code so far

<!-- file: index.html -->
<!Doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
   <title>freeCodeCamp Survey</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
     <h1 id='title'>
      freeCodecamp Survey Form
      </h1>
      <p id='description'> Thank you for taking time to help us improve our Platform</p>
      <fieldset>
    <form id='survey-form'>
      <label id="name-label">Name<input id='name' type='text' required placeholder='Enter your name'/></label>
      <label id='email-label'>Email<input id='email' type='email' required placeholder='Enter your email'/></label>
      <label id='number-label'>Age<input id='number' type='number' min='19' max='100'required placeholder='Age'/></label>
      <select id='dropdown'>
        <option> Select current role</option>
        <option>Student</option>
        <option>Full-time job</option>
        <option>Full-time Learner</option>
        <option>prefer not to say</option>
        <option>other</option>
      </select>
     <input type="radio" name="yes1" value="yes" checked>Definitely
     <input type="radio" name="yes1.2" value="maybe" >Maybe
     <label><input type="radio" name="no" value="other"/>Other
      
  <p>Which communications do you want to receive?</p>
    <label for="newsletter">
      <input id="newsletter" type="checkbox" name="communications" value="newsletter"
          />Newsletter
        </label>
        <label for="events">
          <input id="events" type="checkbox" name="communications" value="events"
          />Event updates
        </label>
        <label for="updates">
          <input id="updates" type="checkbox" name="communications" value="updates"
          />Club updates
        </label>
        <p>Any other information you would like to share?</p>
        <textarea id="additional-information" rows="4" cols="50"></textarea>
     <input type='submit' id='submit' placeholder="Submit"/>
    </form>
      </fieldset>
  </body>
</html>
/* file: styles.css */
#title{
  color: black;
}

Your browser information:

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

The name attribute is what you used to define a group.

Also, you should validate your HTML.

https://validator.w3.org/nu/#textarea

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