Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Asynchronous Programming with JavaScript!
You have completed Asynchronous Programming with JavaScript!
Preview
In this course, you'll learn and practice writing asynchronous JavaScript by building a simple API mashup, which is a site or app that’s created using two data sources.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
you're basically providing the program
sets of instructions to run later
0:00
in response to an event, a data request,
or a specified interval of time.
0:01
Because of this,
0:05
asynchronous code is typically structured
in a different way than synchronous code.
0:06
One of the most fundamental ways to
structure async programs in JavaScript is
0:11
with callback functions.
0:15
Callbacks are prevalent in JavaScript,
0:17
you'll encounter them in just about
all of your JavaScript development.
0:18
Remember, a callback is a function that is
passed to another function as an argument,
0:22
and it only runs after its parent
function has finished executing.
0:27
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