A beautiful, modern web application that displays random animals from various public APIs. Discover amazing wildlife with just a click!
- Random Animal Discovery: Get random animals from multiple APIs
- Specific Animal Types: Choose between dogs, cats, and foxes
- Beautiful UI: Modern, responsive design with smooth animations
- Favorites System: Save your favorite animals locally
- Statistics Tracking: Keep track of animals viewed and favorites
- Multiple API Sources: Uses various public APIs for variety
- Fallback System: If one API fails, automatically tries another
- Responsive Design: Works perfectly on desktop and mobile devices
- Open the Application: Simply open
index.htmlin your web browser - Get Random Animals: Click the "Get Random Animal" button for surprise animals
- Choose Specific Types: Use the dog, cat, or fox buttons for specific animals
- Save Favorites: Click on the heart icon next to animal names to save favorites
- View Statistics: See how many animals you've discovered and saved
- Dog CEO API: For random dog images
- The Cat API: For random cat images with breed information
- Random Fox API: For cute fox images
- The Dog API: Additional dog images with breed details
- Frontend: Pure HTML, CSS, and JavaScript
- No Dependencies: No external libraries required
- Local Storage: Favorites are saved in your browser
- Responsive Design: CSS Grid and Flexbox for modern layouts
- Error Handling: Graceful fallbacks if APIs are unavailable
- Chrome (recommended)
- Firefox
- Safari
- Edge
- Mobile browsers
- Gradient Background: Beautiful purple-blue gradient
- Glass Morphism: Modern translucent elements
- Smooth Animations: Hover effects and transitions
- Icon Integration: Font Awesome icons for better UX
- Typography: Inter font family for clean readability
You can easily customize the application by:
- Adding more animal APIs
- Changing the color scheme in
styles.css - Adding new animal types
- Modifying the layout and animations
Animals/
├── index.html # Main HTML file
├── styles.css # CSS styling
├── script.js # JavaScript functionality
└── README.md # This file
- Download or clone the files to your local machine
- Navigate to the
Animalsdirectory - Open
index.htmlin your web browser - Start discovering amazing animals!
Feel free to contribute by:
- Adding new animal APIs
- Improving the UI/UX
- Adding new features
- Fixing bugs
This project is open source and available under the MIT License.
Enjoy discovering amazing animals! 🦊🐕🐱