Revert flipping a DIV after clicking another one
Take a look a this link. If you click on a product it flips and shows some information. You can flip all products at a given time.
I want to be able to only have one flipped product. Every time someone clicks another product, I want the previous one to flip back to its original appearance.
Try to remove ‘flipped’ class on card on click.