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 Submit Button

<button>Submit Comment</button> It keeps telling me I need to create a button tag on problem 4/5 with this already typed

In creating html form it keeps telling me I need to create button tags with that already typed in. What am I doing wrong?

1 Answer

I had the same issue. Make sure you have the closing tag for the <textarea> tag.

This worked for me:

<form action="index.html" method="post">
  <input type="text" id="name" name="user_name">
  <textarea id="comment" name="user_comment"></textarea>
  <button>Submit Comment</button>
</form>

I did have the closing tag along with the opening tag. I checked my spelling and grammar numerous times and it still didn't work. But for some reason copying and pasting your code worked and it went through as the correct answer, so I am greatly appreciative for your help with that problem. It was driving me insane!!!