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

lauchland Nicholas
lauchland Nicholas
35 Points

problem,code <input type="text" id="name" name="user_name"> is not working in the challenge question so i cant move on.

in order for me to move on in the challenge question i have to put in this code but it is not accepting it, and it is the same code used in the video by Nick

Ken Alger
Ken Alger
Treehouse Teacher

Lauchland;

Welcome to Treehouse!

Please read this post to properly post code to the forum.

It looks like you are using the correct code from your post title, but we need to see all of the code being used in the challenge.

Ken

1 Answer

The input element must be nested in the form element like this:

<form action="index.html" method="post">
    <input type="text" id="name" name="user_name"> 
</form>