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 HTML Forms Form Basics Create a Textarea

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?

index.html
<!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>

That should be correct. I've even tested it by copy pasting your exact code (all of it) into the challenge, and I passed.

Thanks for the clarification, I really appreciate the help. Any idea how I can skip the question and move on with the course?

1 Answer

Brandon White
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brandon White
Full Stack JavaScript Techdegree Graduate 35,771 Points

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.