Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- What is a Promise? 3:36
- Create a Promise 4:43
- Reject a Promise and Handle Errors 3:25
- Promises Review
- Create a Promise Review 6 questions
- From Callbacks to Promises 5:59
- Handle Multiple Promises with Promise.all 3:35
- Before You Continue
- Perform Cleanup With finally() 2:47
- Using Fetch 6:21
- JavaScript Promises Review 6 questions
Well done!
You have completed Asynchronous Programming with JavaScript!

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
You've learned how to create and consume a promise, as well as how to chain together a sequence of promises, and handle rejected promises. Now you're going to convert parts of the project from callbacks to promises.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Daniel Corio-Rosas
6,995 Points2 Answers
-
Andrew Cauthorn
7,190 Points2 Answers
-
Joshua Hatae
7,447 PointsWhen running the code for this video I run into a uncaught at xhr.onload error.
Posted by Joshua HataeJoshua Hatae
7,447 Points0 Answers
-
amarpreet singh saluja
1,053 Points1 Answer
-
emmanuel egunjobi
4,475 Points2 Answers
-
Uriel Fuentes
4,154 Points2 Answers
-
PLUS
Jonathan Ambriz
Courses Plus Student 3,902 Points1 Answer
-
Farid Lavizadeh
12,006 Points2 Answers
-
Mikel Cati
8,045 Points1 Answer
-
Alejandro Bryan
10,923 Points5 Answers
-
megm
14,342 Points2 Answers
-
PLUS
Tree House
Courses Plus Student 1,566 Points1 Answer
-
PLUS
Steve Seebart
Courses Plus Student 11,897 Points1 Answer
-
Nicolas Valdivieso
6,654 Points5 Answers
-
S G
6,243 Points2 Answers
-
mk37
10,271 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up