MCPcopy Create free account
hub / github.com/codemistic/Web-Development / checkIfMatch

Function checkIfMatch

Picture_Bingo_Game/index.js:23–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

flipFunction · 0.85

Calls 2

disableFlipFunction · 0.85
ableFlipFunction · 0.85

Tested by

no test coverage detected