How do I get the cards to not flip over? – JavaScript


I’m currently working on Javascript project that I have almost finished. I ran into a small problem when it comes to the actual matching of the cards. When the cards are matched they are still able to be flipped over and I’m trying to figure how to make the card not be able to be flipped over when there has been a card match.

Any help or criticisms would be greatly appreciated.

link to the game: Card Matching Game

link to the code: GitHub – igotthedawg/cardgame.github.io



Source link

Leave a Comment