I know this topic has been discussed many times before, but I can’t seem to figure it out. I’ve created a bunch of repeated elements by using a for loop. I’m stuck on trying to the same event fire for that particular element when clicked
When I click on the collapseGroup on any card, I want the collapseIcon to rotate 90 degrees and the recCardContainer to change its height to 100 (i can use states later, but for now I just chose to .animate). It animates the elements in the 1st element in the array but not its corresponding group.