Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Introducing the Project 1:43
- AJAX Callbacks 6:51
- Review AJAX Callbacks 5 questions
- Create a callback 1 objective
- Check for the correct ready state 4 objectives
- Introducing JSON 5:52
- Review JSON 5 questions
- Create a JSON file 4 objectives
- Finish the JSON File 1 objective
- Parsing JSON Data 7:33
- Processing JSON Data 7:48
- Programming AJAX Challenge 1:52
- Programming AJAX Solution 2:51
- Review Parsing JSON 3 questions

- 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
In this video, we'll continue with our intranet project. Now that we have a JSON response from the server and parsed it, we need to turn it into HTML and add it to the web page.
NOTE: In a real-world application, you'll likely receive data retrieved from a database, and converted into JSON by the web server, but all of the programming on your end would still be the same.
JavaScript lets you make 'POST' requests as well -- when you want to send form data like a blog or forum post. However, that can be a little bit complicated, and as you'll learn in an upcoming course, there are simpler methods for making AJAX requests with JavaScript.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Joshua Moten
2,404 Points1 Answer
-
Samuel Kleos
Front End Web Development Techdegree Student 13,728 Points1 Answer
-
amarpreet singh saluja
1,053 Points1 Answer
-
Jonas Voetmann
2,652 Points0 Answers
-
Nicolás Melgarejo
15,647 Points0 Answers
-
Robert Bourton
6,179 Points0 Answers
-
Octavian Runceanu
6,143 Points2 Answers
-
Elias Hass
10,339 Points3 Answers
-
Michael Rushton
7,126 Points1 Answer
-
Kendall McCall
8,177 Points1 Answer
-
Nas Jones
7,849 Points1 Answer
-
Kylie Soderblom
3,890 Points1 Answer
-
Kylie Soderblom
3,890 Points1 Answer
-
giorgio gristina
Front End Web Development Techdegree Graduate 13,839 PointsUncaught TypeError: Assignment to constant variable. at XMLHttpRequest.xhr.onreadystatechange (widget.js:10)
1 Answer
-
Hanwen Zhang
20,084 Points1 Answer
-
Kirt Perez
7,374 Points1 Answer
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