From c022dd788c917eb29891a8922bb6a267b06d916a Mon Sep 17 00:00:00 2001 From: Joseph Maxwell Date: Mon, 28 Oct 2024 15:15:13 -0400 Subject: [PATCH] add cats and birds too --- ApiConsumption/DogFetcherCodeAlong.md | 2 +- ApiConsumption/DogFetcherSelfPacedWork.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ApiConsumption/DogFetcherCodeAlong.md b/ApiConsumption/DogFetcherCodeAlong.md index 0f21abf..0717397 100644 --- a/ApiConsumption/DogFetcherCodeAlong.md +++ b/ApiConsumption/DogFetcherCodeAlong.md @@ -20,7 +20,7 @@ The starter project has quite a bit of code, but it's all HTML and CSS! In the * All of these elements will be necessary to make the website functional. ### NOT WORKING: The [shibe.online](https://shibe.online/) API -_Note: the shibe.online API appears to be down. Use [give-me-dogs.glitch.me/dogs](https://give-me-dogs.glitch.me/dogs) instead._ +_Note: the shibe.online API appears to be down. Use [give-me-dogs.glitch.me/dogs](https://give-me-dogs.glitch.me/dogs) instead. You can check out the [source code](https://glitch.com/edit/#!/give-me-dogs) too._ The code needs something to fetch, and luckily, there is an API that provides random pictures of shiba inu dogs! These adorable pups are also known as "shibes" in internet parlance - hence the name, [shibe.online](https://shibe.online/). Take a look at the homepage to learn more about how the API works. diff --git a/ApiConsumption/DogFetcherSelfPacedWork.md b/ApiConsumption/DogFetcherSelfPacedWork.md index 44aa6b4..611ac8e 100644 --- a/ApiConsumption/DogFetcherSelfPacedWork.md +++ b/ApiConsumption/DogFetcherSelfPacedWork.md @@ -2,13 +2,13 @@ Follow these instructions to make some updates to the Dog Fetcher website. ## 🐦 Birds & Cats 🐈 -Dogs are cool. Dogs are _really_ cool. But it might be even cooler to show images of other animals too! Luckily, **shibe.online** has APIs for birds and cats in addition to dogs! Incorporate these into the Dog Fetcher site. +Dogs are cool. Dogs are _really_ cool. But it might be even cooler to show images of other animals too! Luckily, **give-me-dogs.glitch.me** has APIs for birds and cats in addition to dogs! Incorporate these into the Dog Fetcher site. ### Basic Challenge: Replace -The simple way to do this would be to replace the `shibes` URL with one that points to either `birds` or `cats`. Basically, the base URL should look something like this instead: +The simple way to do this would be to replace the `dogs` URL with one that points to either `birds` or `cats`. Basically, the base URL should look something like this instead: ``` -https://shibe.online/api/birds +https://give-me-dogs.glitch.me/cats ``` Update the URL in the `fetch` call to grab images of a different kind of animal. Then, update all the HTML to reflect the new type of animal!