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

Website to review code

I was curious if anyone knows a website where you can post your working code for suggestions on better technique? I know StackOverFlow but that is more for technical questions. For instance I just wrote a js plugin for a video/photo lightbox that uses bootstrap modals (I didn't like how any other lightboxes worked). The plugin works but I am sure there are some things I can change to make it cleaner and would like some suggestions, just dont know where to go.

2 Answers

Have you tried GitHub? http://github.com/

I know GitHub allows for code reviews from your collaborators, but does it have some option to flag your code for saying, "Can someone look at this and provide feedback?" I know what I've looked for a place where I could get a code review when I didn't have anyone else helping with the code. Its one thing to learn a language, but its another to use it correctly(and there's several definitions of that), which you really cannot find out if you're on the right track without having someone else look over your code.

After uploading the code to GitHub, you could grab a link to your code and ask specific coders on Twitter to take a look. Or you can use hashtags #java #javascript #codecheck with the GitHub link.

The guys on reddit over at r/codereview or r/learnjavascript should be able to help out. Or you could link it here and some of use could review it.

Goodluck! --Ricky

Forgot about reddit. Thanks, Ricky!