강의

멘토링

커뮤니티

Inflearn Community Q&A

gilsport16556's profile image
gilsport16556

asked

Learning JavaScript while making web games

deep copy

짝맞추기오류발견!

Written on

·

174

0

하나만 선택 했을시 그 선택한 카드를 다시 누르면

눌리지 않는 코드를 추가해줘야될거 같습니다! 

javascript

Answer 1

0

네 맞아요. ㅋㅋ 영상에 이 부분은 언급이 없어서 아쉽네요 ㅜ

if 조건문 내에 

c.classList.contains("flipped")

이런식으로 하면 될듯 싶네요.

gilsport16556's profile image
gilsport16556

asked

Ask a question