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!

- 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
Let's start by working with callbacks to fetch data. Fetching data is one of the most common ways you will write asynchronous programs in JavaScript.
Mixed Content error
When you're following along in workspaces you may encounter an error in the console saying that the request has been blocked because of trying to request from an insecure endpoint. This happens because the Open Notify API uses the http protocol while Workspaces are on the https protocol.
To work around this you can download the code and follow along in your own text editor. Alternatively, you can add the url of your workspace preview to the exceptions in your browser settings:
- Chrome:
chrome://settings/content/insecureContent
- FireFox: Unblock Mixed Content
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Ava Jones
10,767 Points3 Answers
-
Lars Johansen
8,333 Points2 Answers
-
michael apprich
9,989 Points2 Answers
-
JOE BELL
11,113 Points0 Answers
-
Thomas Brouns
2,607 Points2 Answers
-
Sean Fallon
8,516 Points0 Answers
-
Alsaig Sandra
Front End Web Development Techdegree Graduate 15,434 Points1 Answer
-
Jane XU
3,153 Points0 Answers
-
jun cheng wong
17,021 Points1 Answer
-
Junior Aidee
Front End Web Development Techdegree Graduate 14,657 Points1 Answer
-
Zachary Smith
Full Stack JavaScript Techdegree Graduate 16,616 Points2 Answers
-
Silvia Ramos
Front End Web Development Techdegree Graduate 18,318 Points1 Answer
-
Mark Harrigan
7,686 Points1 Answer
-
Paul Messmer
15,023 Points1 Answer
-
Hamzah Iqbal
Full Stack JavaScript Techdegree Student 11,145 Points3 Answers
-
Ole Vølund Skov Mortensen
27,842 Points2 Answers
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