-
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주차 기본 과제] 🌼 몰티즈를 찾아라 💖 #9
base: main
Are you sure you want to change the base?
Conversation
- 삼항연산자 부분 때문에 무한루프 문제 생김
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.
호딱 리펙토링해서 완성된 춘식이 카드 보고시푸요!!! 곰방 잘 완성할 것 같은데?! 졸전땜에 바쁜데 고생이 많아잉 ㅠㅠ
@@ -0,0 +1,16 @@ | |||
module.exports = { |
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.
옹 언니 이런 과제에도 eslint 적용했구나!! 야무져잉
<> | ||
<MainPage /> | ||
</> |
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.
ㅋㅋㅋ저거 잘못된 거 나중에 알았음ㅠ
<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.
타이틀 바꿔줘잉 ~~
<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.
타이틀 바꿔줘잉~~~ ❤️
return ( | ||
<> | ||
<MainPage /> | ||
</> |
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.
언니 인덴트 볼 떄 마다 신기해..
return ( | ||
<StyledLevelButton | ||
type="button" | ||
isClick={isClick} |
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.
이 코드 혹시 무슨 기능을 하는 것 인가요??
이 컴포넌트에만 쓰인 것 같은데 따로 하는 기능이 뭐지 모르겠어서 !!
clickedList, | ||
matchedList, | ||
setClickedList, | ||
} = props; |
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.
Props 이렇게 내려주는 거 가독성 괜찮네! 난 맨날 괄호에 때려 박았는데 요거 리코일로 리팩하면 더 깔끔해지겟당~~
@@ -0,0 +1,35 @@ | |||
import styled from "styled-components"; | |||
import { LevelButton } from "./Buttons"; | |||
const LevelButtonsWrapper = styled.div` |
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.
얘는 왜 여깃지요?? 다른 컴포넌트들 전부 컴포넌트 export 아래에 styled-component 만들었으니까
이것도 통일감있게 가는게 좋지 않을까요??
// 레벨 버튼 누르면 카드가 초기화되어야 함 | ||
const resetCards = () => { | ||
setScore(0); | ||
// setClickedFirst(null); |
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.
주석 지워줘도 좋겠어요~~
✨ 구현 기능 명세
😔에러 때문에 잘 구현되었는지 확인이 불가해서 시도한 부분만 체크했습니다
✅
게임 난이도 선택
✅
정답 수 노출
✅
카드 선택
1. 정답 스코어 증가
2. 카드 뒤집힌 채로 유지
1. 카드 다시 뒷면으로 돌리기
✅
카드 배열 순서
🌼 PR Point
🥺 소요 시간, 어려웠던 점
🌈 구현 결과물