Lesson 1
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.
Course
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.
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.
Last Updated March 7, 2022
No experience required
Lesson 1
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.
Lesson 2
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.
Lesson 3
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.
Richard Kalehoff
Instructor
Richard is a Course Developer with a passion for teaching. He has a degree in computer science, and first worked for a nonprofit doing everything from front end web development, to backend programming, to database and server management.
Richard Kalehoff
Instructor
Richard is a Course Developer with a passion for teaching. He has a degree in computer science, and first worked for a nonprofit doing everything from front end web development, to backend programming, to database and server management.
Get Started Today