Learn how to handle asynchronous work with ease! In this course, you'll use Native JavaScript Promises to write asynchronous code that is easy to read, easy to write and easy to debug.
Along the way, you'll be using Promises to make a webapp come to life!
Every web developer needs to be able to work with asynchronous code. Network requests, browser events, web workers and just about every else about the web happens asynchronously.
JavaScript developers normally rely on callbacks to execute async code, but Native JavaScript Promises offer a much easier solution. With Promises, error handling is streamlined and it becomes possible to flexibly chain lots of asynchronous work without creating a tangled mess of callbacks.
We expect that students have built web apps in the past and they are familiar with the pitfalls of callback-heavy code. There is no HTML or CSS in this class.
JavaScript Skills Required:
.forEach and .mapOther Requirements:
See the Technology Requirements for using Udacity.
Throughout the course (mostly in the second lesson), you'll be using Promises to load data into the Exoplanet Explorer app, which was designed to help people learn a little bit about planets around other stars.
A passionate educator and programmer, Cameron lives and breathes web development as he creates programming courses at Udacity. Before coming here, Cameron was a combination Director of Content and web developer at Seattle startup LearnBIG. He taught four years of high school physics and chemistry in Nashville, TN, during which time he pioneered teaching physics with the video game Portal 2. Cameron graduated with a degree in physics and astronomy from Vanderbilt University and earned his master's in teaching from Belmont University.
View more courses in
Web Development