Asynchronous JavaScript, AJAX and APIs | JavaScript ? | Lecture 231

Аватар автора
JavaScript для фронтенд-разработчиков
Asynchronous JavaScript: Promises, Async_Await, and AJAX LECTURE: 231 246 Asynchronous JavaScript, AJAX and APIs | JavaScript ? ? Let’s start by understanding what asynchronous javascript actually is, and also learn about the most popular use cases of asynchronous javascript, which is basically to make so-called AJAX calls to APIs. ✔ Now, to understand what asynchronous javascript code actually is, we first need to understand what synchronous code is, which is basically the opposite of asynchronous. ✔ Most of the codes that we write as a beginner in javascript are synchronous code, and synchronous simply means that the code is executed line by line, in the exact order of execution that we defined in our code, just like in this small example. ? const p = document.querySelector('p'); ? p.textContent = &name is Ruckaiya'; ? alert(&set!'); ? p.style.color = 'red'; Like | Subscribe | Share The Coding Classroom (⌐■_■)

0/0


0/0

0/0

0/0