function markCardsComplete() {
  var completedCards = [firstFlippedCard, secondFlippedCard];
  completedCards.forEach(function (card) {
    card.removeEventListener('click', flipTheCard);
    card.setAttribute('style', 'box-shadow: 0px 4px 0px 2px #00c434;border-color: #00ff43;');
  });
  gameFinishedCount++;
}
/* MARK THE CARD AS COMPLETE AND INCREASE GAME FINISH COUNT */
MARK THE CARD AS COMPLETE AND INCREASE GAME FINISH COUNT
MARK THE CARD AS COMPLETE AND INCREASE GAME FINISH COUNT
function markCardsComplete() {
  var completedCards = [firstFlippedCard, secondFlippedCard];
  completedCards.forEach(function (card) {
    card.removeEventListener('click', flipTheCard);
    card.setAttribute('style', 'box-shadow: 0px 4px 0px 2px #00c434;border-color: #00ff43;');
  });
  gameFinishedCount++;
}
function markCardsComplete ( ) { var completedCards = [ firstFlippedCard , secondFlippedCard ] ; completedCards . forEach ( function ( card ) { card . removeEventListener ( 'click' , flipTheCard ) ; card . setAttribute ( 'style' , 'box-shadow: 0px 4px 0px 2px #00c434;border-color: #00ff43;' ) ; } ) ; gameFinishedCount ++ ; }
MARK THE CARD AS COMPLETE AND INCREASE GAME FINISH COUNT
MARK THE CARD AS COMPLETE AND INCREASE GAME FINISH COUNT