Test Driven Development
This page: http://bit.ly/dcc201707
The kata is about the writing of the underlying data model for a pager control (NOT about the presentation). What you should create is an object or class (bunch of classes?!) which is smart enough to provide all the data required to actually render the links to pages.
Bonus: Create a page which uses your TDDed code to render the pager.