DEV Community

Cover image for Project - Pic Discover App
Gaurav Mehra
Gaurav Mehra

Posted on • Edited on

Project - Pic Discover App

πŸ–ΌοΈ Pic Discover App – Search and Explore Beautiful Images with Unsplash API

Hey DEV community! πŸ‘‹

I'm excited to share a fun and visually engaging project I recently built – Pic Discover App πŸŽ‰

It’s a simple and responsive web app that lets users search and browse stunning images using the Unsplash API.


πŸ” What Is Pic Discover?

Pic Discover is a web-based image search engine where users can:

  • πŸ”Ž Type in any keyword (e.g., mountains, cats, coding)
  • πŸ–ΌοΈ Instantly see high-quality photos from Unsplash
  • βž• Load more results with a "Show More" button
  • πŸ“± Enjoy a responsive design across desktop and mobile

It’s ideal for photographers, designers, bloggers, or anyone looking for image inspiration.


πŸ› οΈ Built With

  • βœ… HTML – Semantic layout
  • 🎨 CSS – Fully responsive and stylish UI with hover animations
  • βš™οΈ JavaScript – Fetching and rendering images dynamically
  • 🌐 Unsplash API – Free access to a huge collection of images

πŸ“Έ App Features

  • ✨ Real-time image search based on user input
  • 🧭 Pagination with β€œShow More” feature
  • πŸ’‘ Auto-clears previous results when a new search begins
  • 🎯 Clickable image links that redirect to the full image on Unsplash
  • 🧼 Clean and minimal UI with smooth animations

πŸš€ How It Works

  1. User types a keyword in the input box
  2. The app calls the Unsplash Search API with that query
  3. Images are displayed dynamically using JavaScript
  4. Users can click "Show More" to fetch the next page of results

πŸ“·


πŸ§ͺ Live Demo

πŸ”— Try it out live

πŸ’» View Source Code on GitHub


🧠 What I Learned

This project helped me understand:

  • How to work with third-party APIs
  • Making asynchronous requests using fetch()
  • DOM manipulation and dynamic rendering in vanilla JS
  • Creating a responsive layout with media queries
  • Optimizing UX with pagination and loading controls

πŸ’‘ Future Improvements

  • Add loading spinners
  • Add dark/light theme toggle
  • Allow users to download or favorite images
  • Save recent search history in local storage


πŸ™Œ Final Thoughts

Pic Discover App was a great way to dive deeper into frontend development while building something interactive and useful.

If you’re looking to learn APIs or just want a fun UI project, try recreating this β€” it’s a rewarding experience!

Thanks for reading, and let me know your thoughts or suggestions in the comments πŸ’¬

Top comments (0)