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