Infinite Scroll

Just keep scrolling

Pulls random photos from the Unsplash API. I wanted more experience working with asynchronous code and APIs. If you click on an images it will take you to the Unsplash website for you to download the phots.

Tech Stack
DOM – HTML, CSS, JavaScript


  • Pull 5 photos on first request then, 30 on subsequent requests.
  • Uses scroll event to determine when to load more photos.
  • Calls Unsplash for photos request response returned JSON.
  • Text and margins resize on smaller screens.

Displays well on on all devices.

DemoCheck it out! | CodeGitHub