Build a Survey Form - Build a Survey Form

Tell us what’s happening:

What you mean if I have a radio button at least 2, but may I have radio button again right

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Survey Form</title>
  </head>

  <body>
    <h1 id="title">Please register</h1>
    <p id="description">Apply the register </p>
    <form id="survey-form">
      <input  id="name" type="text" name="name" placeholder="name" required/>
      <label id="name-label">Name Label</label>
       <input type="email" id="email"name="email" placeholder="email" required/>
       <label id="email-label">Email Label</label>
    <input id="number" name="number" type="number"min="25"max="40" placeholder="number" required/>
    <label id="number-label">Number Label</label>
    <select id="dropdown" required>
      <option name="yes" >yes</option>
      <option name="no">no</option>
    </select>
    <label>Please select the group</label>
 <label for="group1">Group1: <input type="radio" name="Dc"  value="group1" class="Dc"  required/>
    </label>
   <label for="group2">Group2: <input type="radio" name="marvel" value="group2" class="marvel" required/
    </label>
    <label for="not-sure">Not sure: <input="radio" name="not-sure" value="not-sure" class="not-sure" required/></label>
    <label>Select:<input type="radio" name="other" value="other" required></label>
    
    

    
    <input type="checkbox" value="confirm"/>
    <input type="checkbox" value="refule"/>
    <textarea></textarea>
    <input type="submit" id="submit"/>
    
    </form>
   

  </body>
  
</html>

Your browser information:

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

Challenge Information:

Build a Survey Form - Build a Survey Form
https://www.freecodecamp.org/learn/full-stack-developer/lab-survey-form/build-a-survey-form

hello and welcome to fcc forum :slight_smile:

these are all acting as “single option” radio element and you can choose them all!, you have to group them together so that you can select one option from that group

look into how do you group “radio elements” and try that again, happy coding :slight_smile: