Candis interview question

complete a memory game in js