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.

General Discussion

Error Message bug on Lesson


On "Text Input Events", if you typo next to nexT, you get the following bug on validation:

Bummer! null

Very interesting.


3 Answers

On this url:


There's another bad-practice being shown for if/else usage.

When teaching if/else it would be prudent to teach the correct use of the block delimiters { and }.

Someone who isn't competent with JavaScript or jQuery may not understand the implications of leaving these off when writing if/else statements.

I'd suggest that that section of the video is spliced with one with better coding practice for beginners and maybe mention shortcut types of coding practice in a separate video.

Andrew - please don't do shortcuts in learning videos ;)?


In the "success" function add the class of "valid" to the textarea that's had a the "keyup" event triggered

Remove 'a' from before 'the' in this instruction?