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 trialbenjamin perodeau
7,469 Pointsweak sauce
This project (interactive website) is far less effective than most of the previous content. There are great bit leaps I'm expected to make and it's not working. Here's what I have for this item:
$(".hint").hide();
$("inputs.keydown") (function () {
$(this).next().show();
});
Also tried some variations on this to no avail. Please help. Thanks, Ben
3 Answers
Craig MacIntyre
9,943 PointsTry this maybe?
$(".hint").hide();
$("inputs").keydown(function () {
$(this).next().show();
});
You were calling the keydown function as a jQuery object instead of calling it ON the 'inputs' variable
benjamin perodeau
7,469 PointsBOOM! Your answer with input, no 's'.
Thank you!
Craig MacIntyre
9,943 PointsNo problem :)
benjamin perodeau
7,469 Pointsbenjamin perodeau
7,469 Pointsthis doesn't work, either:(