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

JavaScript AJAX Basics (retiring) Programming AJAX Stage 2 Challenge Answer

How do u add codes to a discussion??plz help

I've been searching ways to take a screenshot of my workplace and place it in the discussion but i haven't found an ways to do so .

1 Answer

Steven Parker
Steven Parker
231,268 Points

Screenshots are not usually very helpful, since it requires complete re-entry for someone to try out the code and analyze the issue. But if you are working with the workspaces, you can use the "snapshot" function (the little camera icon) which will give you a URL you can post to make it easy for someone to replicate your environment.

If you're not using workspaces, the next best thing is to post the code itself (cut and paste) and surround it with Markdown formatting. Instructions can be found in the Markdown Cheatsheet pop-up below the "Add an Answer" area. :arrow_heading_down:

Or for more detailed instructions, you can watch this video on code formatting.