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.
Arsal AbdullahFront End Web Development Techdegree Student 2,871 Points
For the 2nd question, i believe this is how you create a text input however it keeps telling me i am wrong.
I believe this is how you create a text input however it keeps telling me i am wrong. What am i missing?
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML Forms</title> </head> <body> <table> <form action='index.html' method='post'> <input type='text' id='name' name='user_name'> </form> </table> </body> </html>
Brandon WhiteTreehouse Moderator
Hi Arsal Abdullah,
There is nothing incorrect about the way you’ve created your text input. The issue is the table element that you’ve created.
Including a table element was not a part of the first part of the challenge. And as such, it’s throwing the testing of the text input off. Once you remove the table tags, you’ll find that your code passes.