Update memory-game/components/MemoryGame.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/1500/head
prathoseraaj V 2 months ago committed by GitHub
parent 40fe9e3bfa
commit fceb739d7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -124,7 +124,7 @@ const MemoryGame = () => {
<div
key={card.id}
onClick={() => handleClick(card.id)}
className={`aspect-square flex items-center justify-center text-xl transition-all duration-300 font-bold rounded-lg cursor-pointer ${
className={`aspect-square flex items-center justify-center text-xl transition-all duration-300 font-bold rounded-lg cursor-pointer ${
isFlipped(card.id)
? isSelectedPairs(card.id)
? "bg-green-500 text-white"

Loading…
Cancel
Save