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 trialLioz Elinger
4,766 PointsI'm not sure if it should work that way
I did the challenge pretty close to the teacher's note, but if I put a wrong answer in the beginning, the counting stops and even what the rest of the questions are right, the counter is on 0. Is it supposed to be like that?
thanks.
Lioz Elinger
4,766 PointsWhile copying it in here I realised my mistake. I kept using the first variable name in every question.
Thank you for the fast response :)
1 Answer
Steven Parker
231,269 PointsCongratulations, good job spotting the error yourself!
Keep up the good work, and happy coding!
Steven Parker
231,269 PointsSteven Parker
231,269 PointsNo, it should still count any correct answers. We can help you find the error if you share your code here. The best way is to make a "snapshot" (using the camera icon) and then post the link it gives you here.