πΌοΈ 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
- User types a keyword in the input box
- The app calls the Unsplash Search API with that query
- Images are displayed dynamically using JavaScript
- 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)