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 > 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!