FrontendArk

Master Frontend Interviews

  • Practice
  • Playground
  • Resource
Medium

Data Table

25 mins

Build a users data table with pagination features.

Requirements:

  1. Display user data in a table with columns: ID, Name, Email.
  2. Show only a limited number of rows per page (e.g. 5).
  3. Add "Next" and "Previous" buttons to navigate between pages.
  4. Disable "Previous" button on the first page and "Next" on the last page.
  5. (Bonus) Highlight the current page number.

Code Editor

React Component

00:00
Loading...

Live Preview

See your React component