Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Forms Form Basics The Input Element

Hi guys! I cant spot any errors with my code, (only one line) but my preview is incorrect??

Hi, first step of this section and I don't feel I've missed something but my preview is clearly showing an error ( http://web-1xp78zhb5p.treehouse-app.com/). My code matches exactly as described by Nick on the vid, any suggestions??

Thanks Craig

Thanks for the help and advice so quickly! Id checked it numerous times and just could not spot the error.

Thanks Again !!!

3 Answers

Hugo Paz
Hugo Paz
15,620 Points

Using chromes inspect element it seems you closed the form before the input tag. Remember to close the form after all form elements.

Ricky Sparks
Ricky Sparks
22,249 Points

Ran into same issue but this helped :D

Mikkel Madsen
Mikkel Madsen
13,885 Points

Hugo Paz is correct. I see that aswell, didn't get it the first time. Nice spotting Hugo!

Mikkel Madsen
Mikkel Madsen
13,885 Points

Hey :) I'm not exactly sure what you mean. But you can always try to clear your cache.