changed mistake of function.js to functions.js in cards.html