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>
  <head>
    <link rel="stylesheet" href="styles.css">
</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">
  <label for="name" id="name-label">Name: <input type="text" id="name" required placeholder="Write your name" ></label>
  <label for="email"id="email-label">Email: <input type="email" id="email" required  placeholder="Write your email"></label>
  <label for="number"id="number-label">Age: <input type="number" id="number" required max="120" min="13" placeholder="Write your age"></label>

<label for="dropdown"id="dropdown-label">Select your role<select id="dropdown">
  <option value="student">Student</option>
  <option value="worker">Worker</option>
</select>
</label>
<label>Would you recommend freecodecamp to a friend?  Yes<input type="radio" name="recommend" value="yes"> No <input type="radio" name="recommend" value="no"></label>
What would you like to see improved?
Backend Development<input type="checkbox" value="back">
Frontend Development<input type="checkbox" value="front">
<label>Aditional comments <input type="textarea"></label>
<label><input type="submit"id="submit"></label>
</form>
    </body>
    </html>
/* file: styles.css */
label{
  display:block;
}

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

I built a textarea input but this appears to me:

You should have at least one textarea element that is a descendant of #survey-form .

The ‘textarea’ is an html element, not a value of the ‘type’ attribute in the ‘input’ element.

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