var clicktimes = 2;
for(i=0; i<clicktimes; i++){
if(?){
$(this).css("background", "white")
}
im trying to make game "memory" and now i need to know what to put in if to check if "flipped" cards' backgrounds have the same color. (bg-whuite is for disappearing)
Aucun commentaire:
Enregistrer un commentaire