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

General Discussion

No spoilers

When someone asks a question about a code challenge, I think it would be nice if the code answers given back would start as hidden and that you will have to click on something to reveal them.

That way you can explain to someone how he could correct his code, and if he is still stuck he could then click the reveal code to see the full answer.

5 Answers

Hey Idan,

Great idea. I've been hoping this feature would be added for some time.

+1

Stack Overflow has a pretty good implementation for this that I'd love to see adopted here.

I love that idea!

Until it's implemented, I'll start linking to my code solutions.

I usually explain the answer and what has to be done. If I can't explain myself correctly or the user is still confused is when I post the code.