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 trialJosh Miller
2,731 Pointspossible bug?
The error seems to be correct but it doesn't pass when clicking the "check work" button.
Am I doing something wrong?
HIDAYATULLAH ARGHANDABI
21,058 PointsCheck my answer it will work for you
1 Answer
HIDAYATULLAH ARGHANDABI
21,058 Pointsvar $submit=$('.submit-btn');
You need to create a variable with name $submit and store the class reference of the submit button
$submit.attr("disabled",true);
then you need to hide the submit with disabled attribute
Sam Gord
14,084 PointsSam Gord
14,084 Pointsplease show us a little of your code , thanks :)