adding and removing cards dynamically using html (1)