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
David Langley
10,965 Pointscreate a custom class code challenge part 3
I am just learning so if this is obvious i will apologise now.In the code challenge part 3 of creating a custom class, i enter my code which I am confident looks it should be right but get "red bar of doom!" and fail this challenge. The tip says "opps looks like part one no longer passes" is this a part of the challenge or am i missing something?? hope you can help... https://www.dropbox.com/s/kp6fwcu0k7t6kp2/Screenshot%202013-11-12%2023.28.33.png
2 Answers
Amit Bijlani
Treehouse Guest TeacherYou should also see a preview button which shows you compiler errors. From your screenshot it seems like there was no preview button. On line 15, you misspelled return.
Erik Montes
3,717 Points-
Erik Montes
3,717 PointsErik Montes
3,717 PointsAmit Bijlani why is it that many times it says "click the preview button to show compilers errors" so I do, but it wont show me any compiler errors. Makes the challenger harder for me since if there's a typo I can't know. I'm using Firefox.
Stefan Buttigieg
10,065 PointsStefan Buttigieg
10,065 PointsSame happens here! I'm using Chrome!
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherErik Montes and Stefan Buttigieg I just tested it on both Firefox and Chrome (latest versions) and I could see compiler errors when I clicked on the preview button.
Stefan Buttigieg
10,065 PointsStefan Buttigieg
10,065 PointsOk will try testing as soon as I do a Code Challenge!
Erik Montes
3,717 PointsErik Montes
3,717 PointsCompiler errors don't show up for me in challenges. I tried it both in Chrome and Firefox.
Stefan Buttigieg
10,065 PointsStefan Buttigieg
10,065 PointsThe complier errors don't show up for me either. What I see is the red box with the warning telling me to press on the 'Preview' button to see the compiler warnings.
I'm managing along ok without them, it's still strange how they're not showing up :)
Erik Montes
3,717 PointsErik Montes
3,717 PointsAmit Bijlani Stefan Buttigieg seems like it happens in only certain stages. I advanced to other stages and I'm seeing errors now. Unfortunately, I don't recall which stages it wasn't showing the actual compiler errors.