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

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.