Survey Form - Build a Survey Form

###Build a Survey Form- textarea
Hi! I’m having some difficulty making the textarea a descendant of the survey form. Would love some help!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<link rel="stylesheet" href="styles.css">
<h1 id="title">Survey Form</h1>
<p id="description">Fill out the following information to allow us to improve our site.</p>
<form id="survey-form">
  <input id="name" type="text" required placeholder="name"><label id="name-label">
  <input id="email" type="email" required placeholder="email"><label id="email-label">
  <input id="number" type="number" min="10" max="121" placeholder="age"><label id="number-label">
  </form>
  <div id="survey-form">
  <input type="textarea" name="comments"  id="comments" Placeholder="Please tell us any comments you have for our website. Your feedback is very important to us.">
  </div>
  <select id="dropdown">
    <option>How satisfied are you with the elements on this site?</option>
    <option value="highly-satisfied">Highly satisfied</option>
    <option value="satisfied">Satisfied</option>
    <option value="medium">Medium</option>
    <option value="dissatisfied">Dissatisfied</option>
    <option value="highly-dissatisfied">Highly dissatisfied</option>
    </select>
  <form><p>Are you a new user of our site?</p>
  <input type="radio" name="no-yes" value="no" id="no">No
  <input type="radio" name="no-yes" value="yes"id="yes">Yes
</form> 
  <form><p> How did you hear about our site?</p>
    <input type="checkbox" name="referrer" value="online" id="online">Online
    <input type="checkbox" name="referrer" value="friends/family" id="friends/family"> Friends/Family
    <input type="checkbox" name="referrer" value="other" id="other">Other
    <form>
  <form>
  <input type="submit" id="submit">
/* 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/118.0.0.0 Safari/537.36

Challenge Information:

Survey Form - Build a Survey Form

Hello textarea is an element, like the input element. Except the textarea element requires a closing element tag.

I suggest changing this to reflect the element textarea, by removing the input and type.

Add the closing textarea after the closing anchor of the opening textarea tag.


Try it, please? 

Happy coding!

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