Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Josh Seipel
Josh Seipel
2,088 Points

How do I submit snippets of my code for questions and advice?

  1. I can't seem to understand how to post questions with my code embedded in it?

  2. How do I submit questions of challenges?

If you're looking for how to format the code to show on the forums, it's done by including a series of three ` , without any spaces. After that, you can enter your code to have it appear within a properly format box on the forums. That will also be how you close out the code portion.

#Like this!

For submitting your progress on a code challenge, you can simply click the "Get Help" button on the code window. Once you title your question, and have determined there are no other similar questions on the forum, just enter your question in the window, and make sure the checkbox with "Attach my code to this post" is clicked.

1 Answer