A responsive web application for searching and previewing high-quality images using the Pexels API. Built with HTML, CSS, and JavaScript.
Image Search Engine is a lightweight frontend project that integrates with the Pexels Developer API to fetch image data and display results in a responsive grid. It is designed to demonstrate API consumption, error handling, and clean UI/UX implementation with minimal technologies.
Real-time image search Smooth, responsive grid layout Lightbox-style image previews Loading animation Mobile-friendly design Error handling for empty or failed searches
Frontend: HTML, CSS, JavaScript (ES6+)
API: Pexels Developer
Deployment: Vercel
- Clone the repo
git clone https://github.com/fattahniz/image-search-engine.git
cd image-search-engine-
Setup API Key Get a free Pexels API key from Pexels Developer and update it inside main.js.
-
Run locally Open index.html directly in your browser or use a Live Server extension in VS Code.
Enter a keyword in the search box. View results in a responsive grid. Click any image for a preview in lightbox mode.
Not applicable (frontend only). If extended to a backend API, document endpoints here.
project/
│── index.html
│── style.css
│── main.js
│── assets/
│── README.mdFork the repo
- Create a new branch (feature/my-feature)
- Commit changes
- Push branch and create a Pull Request
This project is licensed under the MIT License – see the LICENSE file for details.