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 trial
Matilde Errico
7,076 PointsThe output rank code is not working correctly.It is always showing 1 correct answer out of 5.
1 Answer
Steven Parker
243,658 PointsYou forgot the parentheses after "toUpperCase" in all but the first instance.
Also, you're adding different values to "correct" for each question, so right now the highest possible score is "You got 15 out of 5 questions correct."
And you have "PHYTON" instead of "PYTHON".
Matilde Errico
7,076 PointsMatilde Errico
7,076 PointsInitially those values were correct then I ve started changing them because I was desperate and forgot to put the correct ones back. The parentheses!!! I didn’t think about this mistake at all.THANKS for your help.Now everything works correctly . About “phyton” ? let’s forget about it !