To select a Pokemon, the user will click on the Pokemon card. When hovering over the card, this will be highlighted. When clicking the card, that Pokemon will be selected and with help of the ":active" css type, the card will remain highlighted. If the user will click again on the card, the card will not be highlighted anymore.
Here is free to choose, whether useState with inline styling or other kind of styling for this scope.
For a draw, both Pokemon cards need to be highlighted.
To select a Pokemon, the user will click on the Pokemon card. When hovering over the card, this will be highlighted. When clicking the card, that Pokemon will be selected and with help of the ":active" css type, the card will remain highlighted. If the user will click again on the card, the card will not be highlighted anymore. Here is free to choose, whether useState with inline styling or other kind of styling for this scope. For a draw, both Pokemon cards need to be highlighted.