Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 466 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 466 Bytes

fullstackJS-techdegree-p2

My second Techdegree — Full Stack JavaScript project

A pagination script with two functions:

  • showPage(list, page) for handling the paging logic
  • appendPageLinks(list) for dynamically adding page links with the necessary 'click' event logic
  • two global variables are declared:
    • students is the collection of items to be paginated
    • studentsPerPage is a constant, the 'maximum' no. of items to be displayed per page