I have a set of card objects that I map over. When I click on a card it adds the selected class which in turn gives it a border to show the user it is selected,
selected