/Unsplash-API-Infinite-Scroll

Infinite scroll with the Fetch API and Unsplash API.

Primary LanguageJavaScript

Infinite Scroll

Implementation of the infinite scroll with the Fetch API and Unsplash API.

Table of contents

General info

Practice use of the Fetch API with async/await to retrieve random pictures from the Unsplash API. Also, practice the scroll and load event listener to estimate when to make the next call to the API for a smooth infinite scroll. Includes a custome loader when retrieving the first batch of images from Unsplash.

Screenshots

Screenshot

Demo

Built With

  • HTML
  • CSS
  • JavaScript
  • Requires an Unsplash API key

Features

List of features ready and TODOs for future development

  • Fetch API
  • Unsplash API
  • Infinite Scroll
  • Dark mode

Status

Project is: finished.

Inspiration

Project based on JavaScript Web Projects: 20 Projects to Build Your Portfolio

Contact