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 Button Element

Jim Dennis
Jim Dennis
13,075 Points

Wouldn't it be good to point out that the "submit" element relates to the enclosing form's "action" attribute?

I know this; but I feel like many students will be confused later when they haven't heard that "submit" causes the browser to send the forms data to the URL specified in the "action" attribute of the form. Also I'm surprised there's been no discussion of the different methods.

Sasha Drmic
Sasha Drmic
12,316 Points

Late answer, but I agree that Nick should have noted that submit is associated with the <form>'s action atribute. I'm suprised as well.

Jeremy Castanza
Jeremy Castanza
12,080 Points

I think you raise a good point on tying the two together.

To Nick's credit, there was a brief overview on the HTTP GET vs. POST leading up to this video.

I agree though. I know that Treehouse has a video on different HTTP methods. That would have been a good one to include in the teacher's notes for students who are more immediate rather than beginner.