Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Prateek Khanna
Prateek Khanna
3,885 Points

Need correct answer

Hi Can you please tell what's the correct answer to this question?

5 Answers

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Okay, all that information should be in the video. It looks like your looking for:

  • Enter a single line of text into an [Input] element.
  • They can enter multiple lines of text into a [Textarea] element.
  • As long as these elements are wrapped in a [Form] element.

Try these values, you may need to revise form elements to deepen your understanding of them :D

Hope this helps

Prateek Khanna
Prateek Khanna
3,885 Points

Thanks for your help... I was trying TEXT in the very first blank, the rest of the answers were correct. :)

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Could you let us know which question? There are 5 questions.

Prateek Khanna
Prateek Khanna
3,885 Points

The fill in the blank: Visitors to your site can enter a single line of text into a(n)______ element. They can enter multiple lines of text into a(n) _____ element. As long as these elements are wrapped in a(n)______ element, the values entered by visitors to your site can be submitted to the server.