()
| 21 | |
| 22 | } |
| 23 | function checkIfMatch(){ |
| 24 | if(firstCard.dataset.framework===secondCard.dataset.framework){ |
| 25 | disableFlip(); |
| 26 | |
| 27 | } |
| 28 | else{ |
| 29 | ableFlip(); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | function disableFlip(){ |
| 34 | firstCard.removeEventListener("click",flip); |
no test coverage detected