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 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,622 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.