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

The prompt is "Add a form tag to your page." Now, there's a div that was created in the previous exercise, and I've added the form outside the div, inside the div...but it never passes. What am I supposed to do different here?

<form action="#" method="POST" name="my_form"></form>

2 Answers

Wesley Ellis
Wesley Ellis
3,818 Points

[form][/form]

Don't overthink these.

  • I couldn't get the angle brackets to show up, so replace the square brackets with angle brackets.

Yeah, I've tried that too. I think it's a bug. There's just some things that will not validate for me. I just skipped it and moved on. Thanks though!

James Barnett
James Barnett
39,199 Points

Wesley Ellis - HTML tags won't show up properly in the forum as the browser will try to render them. Here are some tips on typing code into the forum

Wesley Ellis
Wesley Ellis
3,818 Points

Thanks for the tip <a href="https://teamtreehouse.com/jamesbarnett" font-family="cursive">James Barnett</a>!

James Barnett
James Barnett
39,199 Points

There might be a subtle bug here, I did notice it fail. But then I tried again with your code and it passed. So I can't reliably reproduce the issue.

Well, I get the gist. No worries. Thanks!