scrimba
Frontend Career Path
Working with APIs
Intro to APIs
.then() and Asynchronous JavaScript
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

.then() and Asynchronous JavaScript
AboutCommentsNotes
.then() and Asynchronous JavaScript
Expand for more info
index.js
run
preview
console
fetch("https://dog.ceo/api/breeds/image/random")
.then(response => response.json())
.then(data => console.log(data))

Console
/index.html
-2:19