Sparrow Photography
✓ Published0🌍 Public
Aangusgrant
Last edited Feb 6, 2023
Created on Feb 6, 2023
This example displays a responsive photo gallery of sparrow images, with a listing page showing thumbnail grids and detail pages for individual photos. The code fetches photo data from the Vanilla JS Academy API and caches it in sessionStorage. JavaScript renders the grid using CSS Grid layouts that adapt across breakpoints, while a URL query parameter routes between the listing and item views. The implementation uses native `fetch`, `sessionStorage`, and template literals, with no external libraries.
AI-generated description