The following topics are covered as part of this article with practicle examples.**

  • Synchronous vs Asynchronous Programming
  • What is Ajax & how Ajax works
  • XMLHttpRequest
  • CallbackHell
  • Promise (promises in javascript)

https://youtu.be/sLdkp0DKCeU

Source code link:
https://github.com/codewelltech/Asynchronous-Javascript
— — — — — — — — — — — — — — — — — — — — — — — — — — — —
Countries API Urls:
Url : https://restcountries.eu/
Name endpoint : https://restcountries.eu/rest/v2/name/{name}
Code Endpoint : https://restcountries.eu/rest/v2/alpha/{code}
— — — — — — — — — — — — — — — — — — — — — — — — — —-----

#javascript #ajax #callbackfunction #callbackhell #promise

Asynchronous Javascript | Ajax | Xmlhttprequest | Callbackhell | Promise
1.50 GEEK