-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3주차 기본과제] 카드게임 만들기 #7
base: main
Are you sure you want to change the base?
Conversation
width: 15rem; | ||
height: 15rem; | ||
background-color: white; | ||
visibility: ${({ isFlipped }) => (isFlipped ? "visible" : "hidden")}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오홍!! 이거 이렇게도 사용할 수 있구나? 난 냅다 리턴문 안에 넣어놨고돈 좋돠!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와 이렇게도 할 수 있나보다 대박,,,,,,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
굿굿! 깔끔해서 보기 좋다! 고생햇숴~!!
width: 15rem; | ||
height: 15rem; | ||
background-color: white; | ||
visibility: ${({ isFlipped }) => (isFlipped ? "visible" : "hidden")}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와 이렇게도 할 수 있나보다 대박,,,,,,
|
||
const CardGame = ({ curLevel, nowScore, setNowScore }) => { | ||
//레벨에 따라 리스트 변경 | ||
switch (curLevel) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switch문 쓴 거 넘 좋다!!
width: 100% | ||
height:100% | ||
`; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
머야 태그 시멘틱하게 잘 썼다! 반성,,,
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React</title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 나도 고쳐야되는데,,, title 이름도 숫자맞추기 게임 이렇게 바꿔주면 좋겠당!
✨ 구현 기능 명세
✅ 게임 난이도 선택
✅ 정답 수 노출
✅ 카드 선택
✅ 카드 배열 순서
🌼 PR Point
컴포넌트는 크게 헤더, 레벨, 카드게임, 카드 이렇게 4가지가 있고, 이 4가지 컴포넌트를 Mainpage파일에서 적절히 조합하여 컴포넌트로 만든 뒤, MainPage컴포넌트를 app.jsx에서 불러오는 식으로 구현했습니다.
🥺 소요 시간, 어려웠던 점
??h
🌈 구현 결과물
2023-05-05.8.24.15.mov