Image-Generator is a simple web application that allows users to search for images using the Unsplash API and display the search results on the webpage. The application is built using HTML and JavaScript and it fetches images based on the user's input.
- Search for images based on a keyword or search term.
- Display the images from the Unsplash API in a regular size on the webpage.
To run this project, you need a code editor and a modern web browser.
- Clone the repository or download the ZIP file.
$ git clone https://github.com/your-username/image-generator.git
- Open the
index.html
file in your web browser.
- Open the
index.html
file in your web browser. - Enter a keyword or search term in the input field.
- Click the "Search Image" button.
- The application will fetch and display images related to the entered search term from the Unsplash API.
The application uses the Unsplash API to fetch images. To use the Unsplash API, you need to obtain an API key by signing up as a developer on the Unsplash website. Replace YOUR_API_KEY
in the JavaScript code with your actual Unsplash API key.
const API_KEY = "YOUR_API_KEY";
Contributions are welcome! If you have any improvements or feature suggestions, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
- This project uses the Unsplash API to fetch images. Thanks to the Unsplash team for providing the API.
- The project was inspired by various tutorials and examples on web development.
Remember to replace your-username
in the "Installation" section with your GitHub username if you are cloning the repository.