Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

text input

hi, i was asked to add text input to my form. I did this:

<p> <textarea name="input" rows="30" cols="34">
        </textarea>
</p>

it says: "Bummer! Be sure to check your inputs!"

any idea? Thanks Ilan

4 Answers

A text input would look like this.

<input type="text" name="name" placeholder="Enter Name...">

A textarea would look like

<textarea></textarea>

Hope this helps See the W3C site for specific properties

The operative phrase here is text input, which should tip you off to using an <input> element. The <textarea> element on the other hand is a multi-line text field.

Great! It works! Thanks!

No problem click best answer and it will close off the question.

thanks!