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 trialGianpaul Rachiele
4,844 PointsIt keeps telling me that task 1 isn't passing when I haven't changed anything about the previous code
After completing Task one which is to return the teacher with the most courses. I add the code to find the number of teachers in the dictionary without changing any of the code above and it tells me that task 1 is no longer passing. HELP!
1 Answer
Jason Anders
Treehouse Moderator 145,860 PointsHey there.
The "Task one is no longer passing" is kind of a misleading error. It really has nothing to do with Task one, but rather the task you are on has something wrong in the code. This is just the way the code checker works. So, don't worry about going back to Task One, just work on trying to find your error in the current task.
If you need help troubleshooting, you will need to paste your code in the forum with a detailed explanation of what is expected and what is the error. You can try the "attach my code" from the "Get Help" area, but I know that Treehouse has been experiencing problems with this function as of late... I'm not sure if this has been corrected yet. But you can always copy/paste.
:)
Chris Freeman
Treehouse Moderator 68,454 PointsChris Freeman
Treehouse Moderator 68,454 PointsThe most common error causing Task 1 to suddenly fail is a syntax error in the current code that prevents all previous checks from passing. The top three syntax errors are a missing quote (") or ('), a missing trailing paren ), or an indentation error.