A simple responsive lightbox viewer built without any libraries. The app is connected with the Flickr API and displays the first 25 results by relevance returned for the entered search term.
- Open index.html.
- Type a name or topic into the search box.
- Click on a thumbnail to see an enlarged version of the image.
- Click the buttons to navigate between images and close the modal, or use the following keysboard keys:
- Left arrow to go back
- Right arrow to go forward
- Escape to close the modal
Uses semistandard to enforce style. Semistandard is standard, a unified set of JS style rules, but with semicolons.
git clone https://github.com/shoxv/lightbox-viewer.git
cd lightbox-viewer
npm install
To lint: semistandard
in the lightbox-viewer
directory.