Survey Form - Build a Survey Form

Tell us what’s happening:

Describe your issue in detail here.what’s wrong

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="an">
    <meta charset="UTF-8">
    <link  rel="stylesheet" href="styles.css"> 
    <h1 id="title">freeCodeCamp Survey Form</h1> 
    <p id="description"> Thank you for taking the time to help us improve the platform</p>
    <form id="survey-form" >
  <label id="name-label" for="name">Name <input type="text" id="name" name="name" placeholder="Enter your name"required></label>
<label id="email-label" for="email">Email <input type="email" id="email" name="email" placeholder="Enter your adrees email"required></label>
  <label id="number-label" for="age">Age(optional) <input type="number" id="number" name="number" min="18" max="55" required placeholder="Age">
       <label>Which option best describes your current role?
   <select id="dropdown" >
    <option value="">Select Current Role</option>
    <option value="1">Student</option>
    <option value="2">Ful Time Job</option>
    <option value="3">Full Time Learning</option>
    <option value="4">Prefer not to say</option>
    <option value ="5">Other</option>

    <label>Would you recommend freeCodeCamp to a friend?</label>
<input id="definitely" value="Definitely"name=" radio-group"type="radio" >
    <label for="definitely">Definitely</label>
    <input id="maybe" value="maybe" type="radio"  name=" radio-group">
     <label for="Maybe">Maybe </label>
     <input id="not-sure" value="maybe" type="radio" type="radio" name=" 1radio-group">
    <label for="Not-sure">Not-sure</label>

    <label>What is your favorite feature of freeCodeCamp?
      <select id="dropdown">
        <option value="">Select an option</option>
        <option value="1">Chalenges</option>
        <option value="2">Projects</option>
        <option value="3">Community</option>
        <option value="4">Open source</option>
  <label>What would you like to see improved? (Check all that apply</label>
  <label><input value="front-end-projects" name="front-end-projects" type="checkbox">front-end-projects</label>
  <label><input value="back-end-projects"name="back-end-projects" type="checkbox">back-end-projects</label>
  <label><input value="data-visualization"name="data-visualization" type="checkbox">data-visualization</label>
  <label><input value="challenges"name="challenges"type="checkbox">challenges</label>
  <label><nput value="open-source-community" name="open-source-community" type="checkbox">open-source-community</label>
  <label><input value="gitter-gelp-rooms" name="gitter-gelp-rooms" type="checkbox">gitter-gelp-rooms</label>
  <label><input value="videos"name="videos" type="checkbox">videos</label>
  <label><input value="city-meetups"name="city-meetups"type="checkbox">city-meetups</label>
  <label><input value="wiki"name="wiki"type="checkbox">wiki</label>
  <label><input value="forum"name="forum" type="checkbox">forum</label>
  <label><input value="additional-courses"name="additional-courses" type="checkbox"></label>
   <label>Any comments or suggestions?
     <textarea placeholder="Enter Your Comments Here!..."></textarea>
     <button id="submit">Submit></button>
/* file: styles.css */

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 Information:

Survey Form - Build a Survey Form

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Tell us about your issue. What problem you have in your code.

what i should do for that “Every radio button group should have at least 2 radio buttons.”

Check the spacing within your input radio. You have mixed up your attribute and value together. Also you have spacing between value quotation marks.

1 Like