Video Description
This course covers making AJAX requests using the XMLHttpRequest as well as the newer fetch. Typically when a user goes to a website the user has to wait for the server to respond with the data. This is not the case as with AJAX we have the option to load the data when the user is already on the page making the user really happy.
This Course covers the following:
- How to setup a localhost
- What Fetch and XHR are and how they work
- How to load an external files into the JavaScript
- How to connect to web apis and load data
- Using JavaScript to read response content and make use of it
- Exercise to build a random user loader
- Using AJAX to get a txt file content
- Exercise Getting Random Jokes to output on a website
- Using Fetch
- Exercise Posting form data to a server using Fetch
- Practice AJAX
The possibilities are endless, using JavaScript to send requests, receive response content and use the response data to output into the html. JavaScript is at the center of it all connecting the web page and provides you a wide variety of options where you can take the code provided within this course and extend on it in any number of directions. Learn practice and have fun.
Style and Approach
The scope of the course is focused strictly on JavaScript, JSON and AJAX. Your instructor will complete each step of the process with you, on screen with source code provided. This guide shows you how, from the basics to advanced techniques.