Developer Challenge: Can You Recreate this Web Component?by@michaelsalim
621 reads
621 reads

Developer Challenge: Can You Recreate this Web Component?

by Michael Salim1mJanuary 21st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This is a pagination component from GitHub. It needs to be able to navigate to first and last pages easily. It also needs to handle any number of pages. GitHub doesn't show dots between 1 and 3 above, but they show pages 1 to 7. This is where it starts to get tricky because of the size of the page size. It's definitely not an ordeal, but it probably took me a good hour when I originally estimated to finish this within a few minutes. I hope this is detailed enough to make you wish you had these on *$DAY_JOB*!

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Developer Challenge: Can You Recreate this Web Component?
Michael Salim HackerNoon profile picture
Michael Salim

Michael Salim

@michaelsalim

I am a senior full-stack developer. I love to create things for people to use! Founder of https://recalllab.com

Learn More
LEARN MORE ABOUT @MICHAELSALIM'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Michael Salim HackerNoon profile picture
Michael Salim@michaelsalim
I am a senior full-stack developer. I love to create things for people to use! Founder of https://recalllab.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here