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

PHP Build a Basic PHP Website (2018) Adding a Basic Form Creating Input Fields

Erik Nuber
Erik Nuber
20,629 Points

Code wrong in video.

Just an FYI. When building the form in this video, she gets to the textarea "Suggest Item Details" the label for this form is left incorrect. The for should get the same value as the id so should be details and is left incorrectly as name.

Not a big deal but maybe will help somebody as they go through this section

<th><label for="details">Suggest Item Details</label></th>
<td><textarea name="details" id="details"></textarea></td>

2 Answers

Henrik Christensen
seal-mask
.a{fill-rule:evenodd;}techdegree
Henrik Christensen
Python Web Development Techdegree Student 38,322 Points

I don't know if you noticed, but there is a big pop-up showing in the video, in the right-top corner, saying that tells people to update the label tag ;-)

Erik Nuber
Erik Nuber
20,629 Points

Nope, I never saw any pop up window. Maybe it's my browser or that I'm watching the videos at 1.5x speed. This is far from the first video with mistakes on the site so if they did that, great.