function matchChecker(array, item) {
  array.push(item);

  if (array.length === 2) {
    move++;

    if (array[0] === item) {
      match(array, item);

    } else {
      noMatch(array, item);
    }
  } 
}
/*
 * When two .cards are clicked on, check to see if there is a match or not
 *   - Remove transition, transform and bg-color on specific intervals
 *   - Empty array of clicked cards
 */
When two .cards are clicked on, check to see if there is a match or not
- Remove transition, transform and bg-color on specific intervals
- Empty array of clicked cards
When two . cards are clicked on check to see if there is a match or not - Remove transition transform and bg - color on specific intervals - Empty array of clicked cards
function matchChecker(array, item) {
  array.push(item);
  if (array.length === 2) {
    move++;
    if (array[0] === item) {
      match(array, item);
    } else {
      noMatch(array, item);
    }
  } 
}
function matchChecker ( array , item ) { array . push ( item ) ; if ( array . length === 2 ) { move ++ ; if ( array [ 0 ] === item ) { match ( array , item ) ; } else { noMatch ( array , item ) ; } } }
When two .cards are clicked on, check to see if there is a match or not
   - Remove transition, transform and bg-color on specific intervals
   - Empty array of clicked cards
When two . cards are clicked on check to see if there is a match or not - Remove transition transform and bg - color on specific intervals - Empty array of clicked cards