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 trialAlan Sea
6,781 PointsThe password prompts never disappear… What am I doing wrong?
As best I can tell, I have followed the code exactly as instructed and the console doesn't show any errors, but any time I load the page in the browser the prompts appear next to the text boxes after the pages loaded, regardless of whether or not I am focused on a particular field. Anybody have any ideas?
1 Answer
Steven Parker
231,275 PointsOn line 9 you attempted to write a comment, but you are missing one slash (/):
/Find out if password is valid
This invalidates that event handler. You could have seen this error in the browser's JavaScript console.
Also, on line 33, you are missing one of the listeners needed to perform the check: .keyup(passwordEvent);
Alan Sea
6,781 PointsAlan Sea
6,781 Pointsgot it. Thanks! Not sure why it didn't show up in the console when I looked, but it didn't.