metafizzy / metafizzy/infinite-scroll

Infinite scroll + JSON

Open
#969 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
7.5k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I try to fetch API via this demo https://codepen.io/desandro/pen/rNMdaNR/
I use the path: https://api.unsplash.com/search/photos?client_id=${unsplashID}&page=${this.pageIndex}&query=game
There's nothing to load, so why? I try other APIs but the same. I don't know how Infinite scroll API works and wondered if it gets header params like x-total, links, etc. I'm building my website with low-code, based on demos, so are there more API demos? Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked CodePen demo and the Unsplash request first, then compare the API response and pagination behavior with what the demo expects. Done means documenting the required response or request shape, or identifying a concrete incompatibility that can be reproduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.