Tinder Swipe Q

In the Tinder App example, how do I write the codes show the cards that was saved? Little slow with JS coding. Any suggestions would be helpful, thanxs.