Udacity Logo
Log InJoin for Free
Free

Asynchronous JavaScript Requests

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

Course Lessons

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.

Taught By The Best

Photo of Richard Kalehoff

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.

The Udacity Difference

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