Is there a way to rotate a CSS card only by clicking on a specific button?
Currently, the card rotates when clicked anywhere on it.
How can I make it so that it changes rotation only on a button click?
I tried modifying the JavaScript code from ('.card') to ('#rotate') and adding an id to the button, but it didn't work.