About this challenge
This image search challenge was built using native JavaScript with ECMAScript 6 syntax and CSS3. It uses the Google Custom Search API, while specifying for only images with a custom search preference for images found on www.patreon.com. I would recommend searching for your favorite people on Patreon, my favorites being Jazza, SexualLobster, Lindsey Stirling, and Scott Bradlee.
The API has a maximum number of searches of 25 per day on a free account, so if it runs out, I have a pre-selected set of hard-coded images to still test UI functionality. The free API also limits searches for up to 10 results at a time.
The code for this project can be found at karomancer/imageChallenge.
V2 considerations:
- Pagination support
- Load query params from url
- Improve lightbox animation
- Organize stylesheets and code into smaller modules
- Clean HTML up to use fewer IDs and tag references
- Loading for individual images, too