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

Tip for people who do the Node.js Course or any work with JSON

Viewing the JSON in the browser is common and there is this great plugin for chrome to pretty JSON in browser. Will make your life so much better.

Chrome: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc

Firefox: https://addons.mozilla.org/en-us/firefox/addon/jsonview/

Safari: https://github.com/rfletcher/safari-json-formatter

Internet Explorer: you may be SOL. idk http://support.microsoft.com/kb/976662

Hope this helps.

1 Answer

NB: In Chrome you can also just do a console.table() instead of console.log() for JSON objects.

Never in my life have I seen someone actually use NB on a forum. Congrats! lol I'm easily pleased. hahaha