/getDog

Primary LanguageHTMLApache License 2.0Apache-2.0

getDog

Get a random photo of a dog from different breeds just click the button!

Instructions

When you click de button "Dog here" will appear a photo of a random dog. When you click again, it will appear another.

  • Click the button and it will call to API https://dog.ceo/dog-api/documentation/random using a fetch inside a function.
  • With a promise, return a photo from the API.
  • It will show it in page.
  • Click again and it will change!

Enjoy!