Survey Form - Build a Survey Form

Tell us what’s happening:

in the part where I need to make a textarea it doesn’t allow me

Your code so far

<!-- file: index.html -->
<h1 id="title">FreeCodeCamp Survey Form</h1>
<p id="description">Gracias por completar el formulario de FreeCodeCamp</p>
<form id="survey-form">

<label id="name-label"> Name
     <input id="name" placeholder="insert your name" required></input> 
</label>

<label id="email-label">Email

    <input id="email" required type="email" placeholder="insert your email"></input>

</label>


<label id="number-label">Password
  <input id="number" min="8" max="20" type="number" placeholder="create a new password"></input>
  </label>

<select id="dropdown"> 
  <option value="si">si<option>
  <option value="no">no<option>
 </select>

 <input type="radio" name="radio-value" value="1"></input>
 <input type="radio" name="radio-value" value="2"></input>
 <input type="checkbox" value="lo-que-diga"></input>
 <input type="checkbox" value="lo-que-diga-2"></input>
 
 <label>
   <input type="textarea" placeholder="All your comments here">
  <input type="submit" id="submit"></input>
</form>

/* 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/122.0.0.0 Safari/537.36

Challenge Information:

Survey Form - Build a Survey Form

Hello.
Textarea is an element, it’s not a type attribute value. Use it as an element and your project will pass the test.

2 Likes

in html the textarea is created by <textarea> tag. just replace the line <input type="textarea" placeholder="All your comments here"> with
<textarea id="comments" placeholder="All your comments here"></textarea> and your textarea will be created.

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