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
Brian Zekoll
2,660 PointsHow do I show my code in the answers?
Someone is willing to help me figure out my coding problem but I'm not sure how to show him my code. How do I post my code in the answers without it executing?
3 Answers
Joe Consterdine
13,965 PointsPost it here in the forum and people will help.
Joe Consterdine
13,965 PointsTo show someone your code on the forum just copy the code.
Then here you do this:
write out three backticks like this ``` followed by the language e.g HTML without spaces
then post your code
then underneath the code write out three more backticks.
I'm not sure if this is what you were asking. Let me know if not.
Brian Zekoll
2,660 PointsThat was it, thank you so much Joe.
Joe Consterdine
13,965 PointsNo worries.
Brian Zekoll
2,660 PointsBrian Zekoll
2,660 PointsThe question was how do I post the code in comments or the "answers" to a question without it executing. It doesn't show the code when I post it