match card game in jquery: how to keep the matched cards to not be flipped -
i'm having issues finding solution of keeping matched cards beingness flipped again. here link jsbin: http://jsbin.com/tiroxo/1/edit
does know needs added in javascript code?
this looks homework i'm not going but... instead of removing matched cards, add together class them (jquery has addclass method) , when handling clicks, check whether clicked card has class (jquery has hasclass method) , ignore click (return; immediately) if does
jquery
No comments:
Post a Comment