Git Product home page Git Product logo

praveenreddy-dev / image-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

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: MIT License

HTML 23.36% JavaScript 76.64%
fetch-api promises-in-javascript unsp

image-generator's Introduction

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.

image-generator's People

Contributors

praveenreddy-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.