Help me to make this memory game work,I can't find the glitches :(
nitya

There's a problem in storing div ids in a variable and in matching function. I have used clicked_card array to store the ids of the clicked card and then in the matching function I am comparing the ids, if ids match then I need to add class 'match' to the clicked cards and if not matched then I need to remove class 'show'.

1 Comment
Gio

Hi nitya

This is a forum for projects using the WADE engine, and we'll always try to help with WADE-related questions.

If you have a project that's using any other technology that's not WADE, I suggest posting your questions on stackoverflow - you're more likely to get an answer.

Post a reply
Add Attachment
Submit Reply
Login to Reply