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 HTML Mastery

Paul Toole
Paul Toole
6,909 Points

add a submit button to your form

I had this entered, wouldn't work. Checked an old discussion on the forums, exactly the same. Still says, "Bummer! You might need some more information!" Any advice? Here's what I have. Oh, and the submit button appears on the preview page?!?

<input type="button" name="input" value="submit">

Ethan Lowry
Ethan Lowry
Courses Plus Student 7,323 Points

Your post doesn't appear to have your code in it, did you enter it correctly?

Paul Toole
Paul Toole
6,909 Points

Oh, sorry. Let me get it.

<form> <label for="username">Username</label> <input type="text" value="Hello World" id="username">

<input type="button" name="submit" value="Continue">
</form>

3 Answers

Ethan Lowry
PLUS
Ethan Lowry
Courses Plus Student 7,323 Points

There's your problem then, the input 'type' should be 'submit' :)

<input type="submit" name="submit" value="submit">

Paul Toole
Paul Toole
6,909 Points

nevrmind, I got it!! woo hoo!!