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
Prerequisites:
No experience required
Lesson 1
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
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
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.
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.
Combine technology training for employees with industry experts, mentors, and projects, for critical thinking that pushes innovation. Our proven upskilling system goes after success—relentlessly.
Demonstrate proficiency with practical projects
Projects are based on real-world scenarios and challenges, allowing you to apply the skills you learn to practical situations, while giving you real hands-on experience.
Gain proven experience
Retain knowledge longer
Apply new skills immediately
Top-tier services to ensure learner success
Reviewers provide timely and constructive feedback on your project submissions, highlighting areas of improvement and offering practical tips to enhance your work.
Get help from subject matter experts
Learn industry best practices
Gain valuable insights and improve your skills
2 weeks
3 hours
3 weeks
1 week
1 month
1 week
2 weeks
5 hours
2 weeks
2 weeks
(120)
2 months
, Intermediate
1 week
2 months
, Beginner