Build a Survey Form

Tell us what’s happening:
why do i can’t get pass this “You should have at least one textarea element that is a descendant of #survey-form

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <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">
        <input name="name" type="text" id="name" required placeholder="your name">
      </label>
      <label name="email" for="email" id="email-label">
        <input type="email" id="email" required placeholder="your email">
      </label>
      <label name="number" for="number" id="number-label">
        <input type="number" id="number" min="13" max="200" placeholder="age">
      </label>
      <select id="dropdown">
        <option value="">(select one)</option>
                    <option value="1">freeCodeCamp News</option>
                    <option value="2">freeCodeCamp YouTube Channel</option>
                    <option value="3">freeCodeCamp Forum</option>
                    <option value="4">Other</option>
      </select>

      
      <label><input type="radio" name="choice1" value="choice1">Are you satisfied using freeCodeCamp</label>
        <label><input type="radio" name="choice1" value="yes">Yes</label>
        <label><input type="radio" name="choice1" value="no">No</label>

      <label><input type="radio" name="choice2" value="choice2">Are you going to recommend freeCodeCamp to your friends?<label>
        <label><input type="radio" name="choice2" value="yes">Yes</label>
        <label><input type="radio" name="choice2" value="no">No</label>




      <label><input type="checkbox" name="terms-and-conditions" value="terms-and-conditions">Agree with the terms and conditions</label>
      <label><input type="checkbox" name="email-news-update" value="email-news-update">Any updates or news about freeCodeCamp?</label>

      <label>How do you want freeCodeCamp to improve</label>
      <input type="textarea" placeholder="Your suggestions...">
      <input type="submit" name="submit" id="submit" value="Submit">
     
     </form>
   </body>
</html>
/* 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/117.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Hi there and welcome to our community!

The textarea element is an HTML element in its own right, not a type of input.

1 Like

omg, i just realized it, thankyou

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