JavaScript Promises - Free Udacity Course
Written by Sue Gee   
Monday, 11 January 2016

There is still free training to be had from Udacity and a recent addition to the catalog covers JavaScript Promises and helps front-end web developers cope with dealing with asynchronous events and working with asynchronous code.


The course has been created in conjunction with Google and the announcement on the Android Developers Blog reads:

We’ve just opened up a online course on Promises, built in collaboration with Udacity. This brief course, which you can finish in about a day, walks you through building an “Exoplanet Explorer” app that reads and displays live data using Promises. You’ll also learn to use the Fetch API and finally kiss XMLHttpRequest goodbye!

Udacity lists it as an Advanced course which can be covered in approximately 3 weeks assuming 6 hours per week, i.e. 18hrs - so if you do it in one sitting you might find it a long day, however as it is free you can spread it out over as long as you need to.

There are just two lessons:

Lesson 1 - Creating Promises


  • Why Promises?
  • Promises syntax and scope
  • Simplifying common, useful methods with Promises
  • Basic error handling



Lesson 2 - Chaining Promises


  • Creating sequences of async work manually
  • Advanced error handling
  • Techniques for generating sequences of async work with array methods

The lessons consist of videos and quizzes. There is also a hands-on project associated with the course, which is introduced at the beginning of the first lesson but crops up mainly in the second one, is an Exoplanet Explorer - which provides scope for plenty of asynchronous event.

The course is linked to the Senior Web Developer Nanodegree, but you don't need to be enrolled in this program to find it of interest. You do need a background in JavaScript including the following skills:


  • Using functions to return objects and other functions
  • Basic understanding of scope and closures
  • Reading and writing named and anonymous callbacks
  • Array methods like .forEach and .map

You also need to be familiar with GitHub and command line tools.






More Information

JavaScript Promises


Related Articles

jQuery, Promises & Deferred

jQuery Promises, Deferred & WebWorkers

Managing Asynchronous Code - Callbacks, Promises & Async/Await

What Is Asynchronous Programming?

Advance Your Career As a Web Developer With Udacity and Google

Become A Web Developer With Udacity



To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.



GitHub and Gradle Partner To Strengthen Supply Chain Security

Integrating Gradle builds with Github's Actions promotes the best security practices among Gradle users. To do this there's a new official and open-source GitHub Action that generates complete an [ ... ]

Pulumi Announces Copilot AI Management

Pulumi has announced Pulumi Copilot, an AI tool for general cloud infrastructure management. Copilot uses large language models with semantic understanding of the cloud to provide insights and control [ ... ]

More News

C book



or email your comment to:

Last Updated ( Monday, 11 January 2016 )