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

add button

I can't figure out where my mistake is when trying to add button to form.

<!DOCTYPE html>
    <meta charset="utf-8">
    <title>HTML Forms</title>
    <form action="index.html" method="post">

      <h1>Sign UP</h1>

      <input type="text"id="name" name="user_name">
      <input type="email" id="mail" name="user_email">
      <input type="password" id="password" name="user_email">

      <textarea <input type="text" id="comment" name="user_comment"</textarea>

      <button type="submit">Sign Up</button>



1 Answer

Adam Beer
Adam Beer
11,314 Points

Hi Vicki. Just a typo. Inside the textarea you can't use input field like this. Plese delete inside the input field. Just creat a textarea element. After when you create a button write the text "Submit Comment" so please fixed your button text. Hope this help.

<textarea type="text" id="comment" name="user_comment"></textarea>