Modern JavaScript: ES6 and beyond! - ES6 Asynchronous JavaScript - Learn Promises in JavaScript
In this lesson, we're learning how we can use Promises to work with asynchronous code and fetch resources from third party APIs. We'll be using the fun and delightful dog.ceo API.
You can read more about the XMLHttpRequest at MDN web docs.