Skip to content

Image-Generator is a web app that allows users to search for images using the Unsplash API and display the results. It fetches images based on user input and provides a simple and intuitive experience for finding and viewing images.

License

Notifications You must be signed in to change notification settings

praveenreddy-dev/image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image-Generator

Description

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.

Features

  • Search for images based on a keyword or search term.
  • Display the images from the Unsplash API in a regular size on the webpage.

Getting Started

Prerequisites

To run this project, you need a code editor and a modern web browser.

Installation

  1. Clone the repository or download the ZIP file.
$ git clone https://github.com/your-username/image-generator.git
  1. Open the index.html file in your web browser.

Usage

  1. Open the index.html file in your web browser.
  2. Enter a keyword or search term in the input field.
  3. Click the "Search Image" button.
  4. The application will fetch and display images related to the entered search term from the Unsplash API.

API Key

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";

Contributing

Contributions are welcome! If you have any improvements or feature suggestions, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

  • 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.

About

Image-Generator is a web app that allows users to search for images using the Unsplash API and display the results. It fetches images based on user input and provides a simple and intuitive experience for finding and viewing images.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published