/Random-Cat-Image-Generator

This is a simple web application that generates random cat images using the Cat API. Click the "Get Cat" button, and a new cat image will be fetched and displayed.

Primary LanguageJavaScriptMIT LicenseMIT

Random Cat Image Generator

This is a simple web application that generates random cat images using the Cat API. Click the "Get Cat" button, and a new cat image will be fetched and displayed.

Live Demo

Click here for a live demo

Features

  • Get a random cat image with the click of a button.
  • Enjoy adorable and cute cat pictures.

Technologies Used

  • HTML
  • CSS
  • JavaScript

API Used

This project uses the Cat API to retrieve random cat images. The API provides a collection of cat images and facts.

Getting Started

To run the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/kit0-0/random-cat-image-generator.git
  2. Navigate to the project directory:

    cd random-cat-image-generator
  3. Open the index.html file in your web browser.

  4. Click the "Get Cat" button to fetch a random cat image.

Loading Animation

The project includes a loading animation that appears while the cat image is being fetched. The loader gives visual feedback to the user and indicates that the image is being loaded.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

  • Cat API for providing the cat images.