scrimba
Frontend Career Path
Working with APIs
Intro to APIs
Dog API Fetch and DOM Practice
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

Dog API Fetch and DOM Practice
AboutCommentsNotes
Dog API Fetch and DOM Practice
Expand for more info
index.js
run
preview
console
/**
Challenge:

1. Fetch a random image from the Dog API again
(https://dog.ceo/api/breeds/image/random)

2. Access the DOM and insert the URL you got from the
API as an image `src` property (probably easiest if
you create the image completely here in the JS and add
it as the innerHTML of another element on the DOM)
*/

Console
/index.html
-2:51