API in js Here's a simple JS code, to generate a cat fact on the button click Using a dog.ceo API to generate a random dog Image on the button click