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

Hillary Whitworth
Hillary Whitworth
17,097 Points

node.js callbacks vs promises

I am new to node.js but understand that it's best to use promises instead of callbacks. However, I'm having trouble understanding both. Are there any tutorials here on treehouse that go over promises? If not, will there be?

1 Answer

This video helped me out a lot on Callbacks and Promises: https://www.youtube.com/watch?v=2d7s3spWAzo

Hillary Whitworth
Hillary Whitworth
17,097 Points

Thanks Jason! I'll check it out now.