Codstak
    • Home
    • DSA
    • JavaScript
    • TypeScript
    • Node.js
    • React
    • More↓
      BlogReact PrepPricingDiscordNewsletterLeaderboard
    React challenge/medium

    Paginated Gallery

    Challenge workspace

    30-40 min
    Lists and formsPath 15/33
    ListsState & eventsDerived state

    Suggested first

    Repair the Release Review Feed

    Your workspace must pass its server-side browser checks to complete this challenge.

    Paginated Gallery

    Divide a fixed collection into navigable pages.

    Requirements

    • Store only the current page.
    • Derive the page count and visible slice.
    • Disable navigation at both boundaries.
    • Display the current page.
    • Use stable project IDs as keys.