This project searches the unsplash API for photos relating to a search term and displays the images in a CSS grid.
- Class-based React components
- API call to unsplash with axios
- State is only managed at the App level, where the API call is performed
- The App renders the ImageList component by passing an images prop (the array of images returned from unsplash)
- The ImageList component renders a grid of individual images by mapping over the images array prop
- Using CSS grid, the images fit together even if they are not the same aspect ratio or size
This project is finished.