scrimba
Frontend Career Path
Working with APIs
Intro to APIs
First fetch
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

AboutCommentsNotes
First fetch
Expand for more info
index.js
run
preview
console
/**
Challenge:

1. Google for "how to use fetch with json"
2. Should find a top result from MDN
3. MANUALLY copy over the fetch, but using the URL below 👇
https://dog.ceo/api/breeds/image/random
*/

Console
{name:
"Joe Schmoe"
, age:
42
, gender:
"male"
, hobbies:
[
"skiing"
,
"surfing"
,
"piccolo"
]
}
,
/index.html
-2:51