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!
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

jose macedo
6,041 Pointswhy doesnt my program run????
for some reason my console says theres a problem on 138 i think with }
2 Answers

Steven Parker
225,664 PointsRyan's correct that you have an extra brace at the end. Plus a few other issues:
- in the latter half of the 4th question, you have "fourth" in 2 places where you should have "fourthtry"
- in the latter half of the 5th question, you have "fifth" in 2 places where you should have "fifthtry"
- on line 109 you have "
else if (fifth.toUpperCase() === 'Bs')
" but "Bs
" should just be "B
" - on line 112 you have "
fiftht
" spelled with an extra "t
" - there are several lines that have "
rank = rank + 0;
", they can all be left off as this does nothing.

Ryan Duggan
Courses Plus Student 5,591 PointsHey Jose!
I deleted one of the curly brackets "}" at the very end of your code and it worked well! The one I found was on line 139, but you are right on the money with the problem being about the " } " bracket. I think there was just one too many.

Jason Anello
Courses Plus Student 94,610 PointsChanged to answer
jose macedo
6,041 Pointsjose macedo
6,041 Pointshow you are incredible how long have you done this?