This project is a simple image search application built with HTML, CSS, and JavaScript. It utilizes the Unsplash API to fetch and display images based on user input. Users can enter a search term, and the application will fetch relevant images from Unsplash and display them on the page.
-
Search Images: Users can enter a search term in the input field and press Enter or click the search button to fetch and display images related to the search term.
-
Pagination: The application supports pagination, allowing users to view more images by clicking the "Show More" button.
-
Error Handling: The application includes error handling to handle network errors, API request failures, or invalid API responses gracefully. It displays error messages to inform users about issues and provides a better user experience.
- HTML
- CSS
- JavaScript
To get started with this project, you can clone the repository and open the index.html file in your web browser. Make sure to replace the accessKey variable in the JavaScript code with your own Unsplash API access key.
git clone https://github.com/kingpranav21/PhotonSplash
cd your-repository