About this Course

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!

Play Trailer Play Trailer
Course Cost
Free
Timeline
Approx. 3 weeks
Skill Level
Advanced
Included in Course
  • Rich Learning Content

  • Interactive Quizzes

  • Taught by Industry Pros

  • Self-Paced Learning

  • Student Support Community

Join the Path to Greatness

This free course is your first step towards a new career with the Front-End Web Developer Nanodegree Program.

Free Course

JavaScript Promises

by Google

Enhance your skill set and boost your hirability through innovative, independent learning.

Icon steps

Course Leads

  • Cameron Pittman
    Cameron Pittman

    Instructor

What You Will Learn

Lesson 1

Creating Promises

  • Promises syntax and scope.
  • Simplifying common, useful methods with Promises.
  • Basic error handling.
Lesson 1

Creating 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.
Lesson 2

Chaining Promises

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

Prerequisites and Requirements

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:

  • 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

Other Requirements:

  • Ability to use GitHub to clone repos and checkout branches
  • Comfort with command line tools

See the Technology Requirements for using Udacity.

Why Take This Course

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.

What do I get?
  • Instructor videos
  • Learn by doing exercises
  • Taught by industry professionals
Icon globe

Udacity 现已提供中文版本! A Udacity tem uma página em português para você! There's a local version of Udacity for you! Sprechen Sie Deutsch?

Besuchen Sie de.udacity.com und entdecken Sie lokale Angebote, unsere Partnerunternehmen und Udacitys deutschsprachigen Blog.

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site Icon flag de Zu de.udacity.com continue in English