This is a simple image search engine that uses the Unsplash API to fetch and display images based on user search queries.
- Search for images: Enter a search query in the search bar to retrieve relevant images.
- Display search results: Images matching the search query are displayed in a grid format.
- Responsive design: The interface is optimized for different screen sizes.
- HTML
- CSS
- JavaScript
-
Clone the repository:
git clone https://github.com/your-username/image-search-engine.git -
Obtain an API key from Unsplash:
- Visit the Unsplash Developer page and create a new application.
- Copy the provided API key.
-
Update the API key:
- Open the
script.jsfile and replace'YOUR_API_KEY'with your actual Unsplash API key.
- Open the
-
Open
index.htmlin a web browser.
- Enter a search query in the search bar.
- Press Enter or click the search button.
- Images related to the search query will be displayed in the grid.
- Click on an image to view it in a larger size.
Contributions are welcome! If you have any suggestions or improvements, please create a pull request.