Skip to content

SanWach/RandomDogImageGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dog Image Generator V2.0.0

Description

The Dog Image Generator is a simple web application designed to delight users by displaying random dog images. Built with HTML, CSS, and JavaScript. Additionally, a download functionality allows users to save their favorite images, further enhancing the interactive experience.

Features

  • Generate Button: Click to display a random dog image.
  • Download Button: Download the currently displayed dog image. (You need to run it on your server for it to work)
  • Theme Toggle: Switch between light and dark mode to suit your viewing preference.

Setup

To run this project locally, follow these steps:

  1. Clone the repository

git clone https://github.com/SanWach/RandomDogImageGenerator.git

  1. Navigate to the project directory

cd RandomDogImageGenerator

  1. Open the index.html file in a browser

You can simply double-click the file or use a live server feature provided by code editors like VSCode.

Usage

  • Click the Show me a dog! button to generate and display a random dog image.
  • After an image appears, the Download button will be visible. Click it to download the image to your device. The button text changes to Wooff! as feedback for a successful action.
  • Use the Toggle Theme button in the footer to switch between light and dark modes.

Technologies

  • HTML5
  • CSS3 (Until V2.0.0)
  • Tailwind CSS (Starting V2.0.0)
  • JavaScript
  • External API: Dog CEO's Dog API for random dog images.

Disclaimer

The Dog Image Generator uses the Dog CEO's Dog API to fetch random dog images. While the API generally provides dog-related content, the nature of the content is controlled by the API provider and not by the Dog Image Generator project. We do not curate, monitor, or have any control over the images provided. As such, the Dog Image Generator and its developers take no responsibility for any images displayed by the application. Users are advised to use this application at their own risk.

Contributing

Contributions to the Dog Image Generator are welcome! But at the end, it is really simple already!

License

This project is licensed under the MIT License

Author

  • Mr_Akihiro

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published