Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <link rel="stylesheet" href="styles.css">
 <head>
   <title>freeCodeCamp Survey Form</title>
   </head>
   <body>
     <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">
    <fieldset>
      <label id="name-label" for="name-label">Enter your name<input id="name" type="text" name="name-label" placeholder="Enter your name" required/></label>
    </fieldset>
    <fieldset>
      <label id="email-label" for="email">Enter your email<input type="email" name="email" placeholder="Enter your email" required id="email" </label>
    </fieldset>
    <fieldset>
     <label id="number-label" for="number" >Enter your number<input id="number" name="Number" type="number" placeholder="Enter your number" pattern="1-9999999999" min="1" max="120"></label>
    </fieldset>
    <label for="dropdown">Choose an option</label>
       <select id="dropdown" name="dropdown">
         <option value="option 1">option 1</option>
         <option value="option 2">option 2</option>
         <option></option>
       </select>      




    <input type="submit" id="submit" value="Submit">
   </form>
  </body>
 </html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Tell us what’s happening:
Describe your issue in detail here.

i m trying still cant pass it can u guide me with this
im stuck at this step specially

You should have at least two input elements with a type of radio (radio buttons).

Here, you have the input element with the ‘type’ attribute set to the value of “text”, and it is Ok. But, you don’t have any ‘input’ element with the ‘type’ attribute set to the value of “radio” and you should have at least two.

1 Like

got it now
thanks for the guidance

1 Like

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