This course covers everything you need to know to asynchronously request data in your web apps. You'll dive into async requests by using the XHR object, jQuery's .ajax method, and the Fetch API.
Overview
Syllabus
- Ajax with XHR
- In this lesson, you'll learn why you should use asynchronous data requests. Use the `XHR` object to send and receive data asynchronously.
- Ajax with jQuery
- In this lesson, you'll compare using `XHR` with using jQuery's Ajax method. You'll send and receive data using jQuery's Ajax methods and learn how jQuery's Ajax works under the hood.
- Ajax with Fetch
- In this lesson, you'll use JavaScript Promises to create a fetch request and handle the returned data asynchronously. You'll also learn how to handle errors for failed requests.
Taught by
Richard Kalehoff