-
Notifications
You must be signed in to change notification settings - Fork 0
HTML, CSS, JS #1
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
Open
shyjnnn
wants to merge
71
commits into
main
Choose a base branch
from
eva-week4
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[에바] - Week2
[에바] - Week3
- card-component.js css 경로 수정 - kebab.svg 추가
global style font명 변경
3가지 css media query 적용 - card-component 크기 - 검색바 위아래 여백 - shared page heading section 여백
[에바] - week4
- 기존 방식: 생성자 함수에 파라미터로 데이터 전달 - 수정 후 방식: 접근자 프로퍼티로 데이터 전달
- 삼항연산자 안에서 코드를 실행하는 부분 수정 - 불필요한 메소드 및 주석 제거 - 가독성을 위한 뛰어쓰기 수정 - 복수 메소드 명 단수로 변경
[에바] - week5
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
사전 과제 설명
배경 설명
디자인 시안
큰 변경사항
구체적인 요구사항은 다음과 같습니다.
필수 요구사항
전체
PC, tablet
tablet 1100px 미만
모바일
선택 요구사항
전체
Key Changes
질문 사항
질문 사항1
disconnectedCallback,attributeChangedCallback을 활용하려 했으나 잘 되지 않았습니다.특히,
attributeChangedCallback을 사용해 star toggle을 구현하려 했는데,attribute를 변경해도attributeChangedCallback이 실행되지 않았습니다. 임시방편으로 현재는 isStarted 변수와 toggle 메소드를 생성해서 구현하긴 했어요. 생명주기 메서드를 올바르게 사용하는 방법이 있을지, 문제점이 무엇인지 궁금합니다.질문 사항2
웹 컴포넌트에서
innerHTML대신createElement를 사용해 DOM node를 구성했습니다. 이렇게 하면 코드 가독성이 많이 떨어지는지 궁금합니다. 웹 컴포넌트에서 DOM을 조작할 때createElement를 사용하는 것이 좋은지, 아니면 다른 더 나은 방식이 있는지 조언 부탁드립니다.질문 사항3
현재 card 컴포넌트를
forEach를 사용해 반복적으로 구현했습니다. 만약 하나의 카드만 추가해야 하는 경우, 이를 따로 추가하는 메소드를 구현하지 못했습니다. 웹 컴포넌트에서 효율적으로 개별 카드를 추가하는 방법이 있을까요?