working on cards
added cards.js file