Welcome to the Image Search Engine project! This web application allows users to search for images using the Unsplash API. The project is built with HTML, CSS, and JavaScript.
- Search for images based on user input.
- Display search results with links to the original images on Unsplash.
- Implement a "Show More" button to load additional search results.
- Make sure you have a valid Unsplash API key.
- If you are using GitHub Actions for deployment, you may need to set up GitHub Secrets.
-
Clone the repository:
'git clone https://github.com/vatszal/image-search-engine.git'
-
Create a
config.js
file in the root directory and export your Unsplash API key:'const config = { unsplashApiKey: 'your-api-key', };
export default config;'
If you are using GitHub Actions, set the 'UNSPLASH_API_KEY' secret in your repository settings.
-
Open
index.html
in your preferred web browser or deploy the project using GitHub Pages.
- Open
index.html
in your web browser. - Enter a search query in the input field and click the "Search" button.
- View the search results with images and click on the images to open the original links on Unsplash.
- Click the "Show More" button to load additional search results.
- This project uses the Unsplash API for image search. The developer acknowledges and thanks Unsplash for providing the platform. Unsplash API