Giter Club home page Giter Club logo

sakshamgupta09 / infinite-scrolling Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 22 KB

A vanilla-js project to demonstrate infinite scrolling using intersection observer and unsplash API for fetching images..

Home Page: https://sakshamgupta-infinite-scrolling.vercel.app/

HTML 20.68% CSS 41.90% JavaScript 37.42%
dom-manipulation javascript responsive-layout vanilla-js cssgrid fetch-api dark-theme infinite-scroll intersection-observer pagination

infinite-scrolling's Introduction

Infinite scrolling using Intersection Observer API

Demo

Project description

This is a vanilla JS project which uses Unsplash API to fetch the most popular images and render the results onto the UI. It supports infinite scrolling using Intersection Observer API. The layout is completely responsive and supports dark theme as well.

Key Features

  • Infinite scrolling using Intersection Observer API.
  • Supports dark and light theme.
  • Automatically displays the page in user's preferred colour scheme (The OS settings).
  • Unsplash API is used for fetching records which supports pagination.
  • Completely responsive and elegant UI.
  • Uses fetch API for network calls.

Screenshots

1). Dark Mode

Screenshot 2022-12-20 at 7 35 05 AM

2). Light Mode

Screenshot 2022-12-20 at 7 35 11 AM

3). Mobile screen

Screenshot 2022-12-20 at 9 18 38 AM

infinite-scrolling's People

Contributors

sakshamgupta09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.