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

PHP Build a Simple PHP Application Adding a Contact Form Input Fields

Lloyd Saulpaugh
Lloyd Saulpaugh
1,258 Points

Second question is incorrect?

A single line of text can be entered into this type of input element: text

In order to submit multiple lines of text what element do you need?: textarea

Fields can be submitted to the server as long as they are wrapped in what element?: form

What other possible answers are they looking for here? Also, why isn't the correct answer provided upon submission if you only get one chance? This way we can know why it might be wrong.

1 Answer

Lloyd Saulpaugh
Lloyd Saulpaugh
1,258 Points

Nevermind - I retook the quiz. They wanted the first answer to be "input", though I don't agree with that because there are multiple types of input elements.