-
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
[ 1주차 기본/심화/생각 과제 ] ✅ TodoList, 💻 velog 클론코딩 , 📝 웹 접근성 #1
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.
까ㅏㅏㅏㅏㄹ끔한데 ????? 대박이야 핸지만지!!!!!!
|
||
# HyeonjiPARK | ||
<p>아좌좌..</p> | ||
|
||
### 💻 과제 | ||
|
||
| Week | 과제 | ☑️ | 링크 | | ||
| ---- | -------- | -- |---- | | ||
| 1주차 | TodoList | ☑️ | | | ||
| 1주차 | Hyeonlog | ☑️ | | | ||
| 1주차 | 웹접근성 | | | | ||
|
||
</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.
오 ~~~~ 리드미에 이렇게 까지 !!!!! 야무져 ><
|
||
|
||
월드 와이드 웹 (World Wide Web)을 창시한 팀 버너스 리는 웹이란 `'장애에 구애 없이 모든 사람들이 손쉽게 정보를 공유할 수 있는 공간'`이라고 정의하였으며, 웹 콘텐츠를 제작할 때에는 장애에 구애됨이 없이 누구나 접근할 수 있도록 제작하여야 한다고 하였다. | ||
웹 개발을 시작하며 이러한 본질을 잊지 않기 위해서, 앞으로도 다양한 방식을 통한 접근성을 처음부러 고려하여 개발하는 습관을 들여야겠다고 생각했다. |
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.
Good~~~~~접근성을 위한 개발의 네가지 개념들 너무 인상깊네요 ~ ~ 정리 너무 잘해놨다!!!
</head> | ||
<body> | ||
<header class="header"> | ||
<!-- <h2 class="header-title">TODOLIST</h2> --> |
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.
주석 처리한 부분 사용하지 않는다면 지워도 될거 같아용
<img src="./logo.png" class="header-logo" alt="로고"> | ||
<nav class="header__nav"> |
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.
로고는 header-logo이고, nav는 header__nav인데 -와 __는 어떤 구별점을 갖고 사용한건가요??
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.
엇........ 그러게요 왜 -로 썼지 ㅎㅎㅎ..... 😅
<button class="todolist__delete-button"> | ||
<span>-</span> | ||
</button> |
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.
button안에 span으로 감싸준 이유가 있을까용 ?.?
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.
버튼 안에 이미지태그로 이미지를 넣으려다가,,, 텍스트로 바꾸면서 span으로 적었나바요 ㅎㅎㅎ.... 근데 안감싸도 되군뇨 ㅎ.ㅎ..
<span class="material-icons header__lightmode">light_mode</span> | ||
<span class="material-icons header__search">search</span> | ||
<button class="header__write">새 글 작성</button> | ||
<div class="header__profile"> | ||
<img src="./img/profile.jpeg" class="header__image" alt="프로필 이미지" /> |
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.
오! 전 다 버튼이라고 생각했는데 어떤 기준으로 span, button, 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.
헉 아무생각 없이 갈겼던거같슴다.......... 다 버튼으로 바꿔야겠어여....ㅎㅎ......
<div class="nav__wrapper"> | ||
<ul class="nav__list"> | ||
<li class="nav__trending"> | ||
<span class="material-icons">trending_up</span> | ||
<span>트렌딩</span> | ||
</li> | ||
<li class="nav__recent"> | ||
<span class="material-icons">schedule</span> | ||
<span>최신</span> | ||
</li> | ||
</ul> | ||
<button class="nav__dropdown"> | ||
<span>이번 주</span> | ||
<span class="material-icons">arrow_drop_down</span> | ||
</button> | ||
</div> | ||
<span class="material-icons nav__more">more_vert</span> |
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.
이 친구들도 어떤 기준으로 div와 span을 나누신건지 궁금해용!
<div class="card__user"> | ||
<img src="./img/profile.jpeg" class="user__image" alt="유저 이미지" /> | ||
<span>by</span> | ||
<p class="user__name">박현지</p> |
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.
내용을 의미하는 p태그보다 사용자의 이름은 강조될 필요가 있다구 생각해서 b태그 혹은 strong 태그는 어떨까용??
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.
오오 감사합니다!!!!!
.material-icons { | ||
font-family: 'Material Icons'; | ||
font-weight: normal; | ||
font-style: normal; | ||
font-size: 24px; /* Preferred icon size */ | ||
display: inline-block; | ||
line-height: 1; | ||
text-transform: none; | ||
letter-spacing: normal; |
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.
오 얘는 아이콘을 삽입하기 위해 필요한 친구인가용??
@media (min-width:1445px){ | ||
body{ | ||
max-width: 1444px; | ||
} | ||
|
||
.card{ | ||
width:22%; | ||
} | ||
} | ||
|
||
@media (min-width: 1025px) and (max-width: 1444px) { | ||
.card{ | ||
width:30%; | ||
} | ||
} | ||
|
||
@media (min-width: 660px) and (max-width: 1024px) { | ||
.card{ | ||
width:45%; | ||
} | ||
} | ||
|
||
@media (max-width: 660px){ | ||
.card{ | ||
width: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.
야무지게 사용했네요 ~ ~ !!!! 짱짱
우리 금잔디 7조 조장님 너무 고생하셨어요! |
현지 기획도 잘하고 개발도 잘하고 못하는게 뭐야;; |
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.
너무 야무진거아냐?!! ㅎㅎ 체고다 ㅎㅎ
/* flex-grow: 1; | ||
flex-shrink: 1; */ |
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.
주석은 지워주고 올려쥬자용 ㅎㅎ
</div> | ||
</nav> | ||
|
||
<section class="section"> |
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.
밑에 card들이 나열되니까 section-cards 여도 될것가타!
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.
오호 꼬마어!!!
<main class="todolist"> | ||
<section class="todolist__today box"> | ||
<h3 class="todolist-title">TODAY</h3> | ||
<hr class="todolist-line"> |
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.
hr는 주제가 달라지는 곳에 문단줄바꿈으로 사용하는거라!
여기서는 오늘 할일에 대한 주제로 아래 코드들이 동일하자나 그래서 적합하지가 아느니까 h3에 border-bottom을 주는건 오때애?!
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.
오오옹 그렇구나!!!!! 꼬마어요옹ㅎㅎㅎㅎㅎ
</header> | ||
<main class="todolist"> | ||
<section class="todolist__today box"> | ||
<h3 class="todolist-title">TODAY</h3> |
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.
이칭구도 어쨋든 블럭요소니까
todolist__title로
쓰는게 bem에 적합하게따!
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.
헉 맞네!!!! 거마워영ㅎㅎㅎㅎ
.todolist__item:not(:last-child) { | ||
border-bottom: 1px solid #efefef; | ||
} |
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.
하이
</header> | ||
<main class="todolist"> | ||
<section class="todolist__today box"> | ||
<h3 class="todolist-title">TODAY</h3> |
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.
h3
태그를 사용한 이유가 궁금합니다!
폰트 사이즈 때문인가요~?
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.
요호 h1 -h2 -h3 순서대로 써주는 것이 표준입니닺
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.
헉 그렇군요!!! 폰트 사이즈에 따라 다르게 쓰는건줄 알았어요....
<hr class="todolist-line"> | ||
<ul class="todolist__lists"> | ||
<li class="todolist__item">투두리스트 과제하기 | ||
<button class="todolist__delete-button"> |
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.
위에처럼 type
지정해주면 좋을 것 같아요!
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.
오홍 그러네여!!!! 감사해용 ㅎㅎㅎㅎ
<body> | ||
<header class="header"> | ||
<h1>hyeonlog</h1> | ||
<div class="header__setting"> |
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.
div
태그 대신 semantic한 태그를 사용해보는건 어떨까요?
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.
nav 태그를 사용할 수 있을거같네여!!! 감사합니당!!
white-space: nowrap; | ||
direction: ltr; | ||
|
||
/* Support for all WebKit browsers. */ |
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.
꺄아 너무 수고 많으셨습니당~!~🥰
bottom: 10px; | ||
|
||
display: flex; | ||
flex-direction: row; |
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.
flex-direction 기본값이 row라 설정하지 않아도 괜찮지 않을까용 ?! >_<
<button class="header__nav-button" type="button">ALL</button> | ||
</nav> | ||
</header> | ||
<main class="todolist"> |
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.
다음에는 저듀 요로코롬 main을 사용해봐야겠어요 -!-!
|
||
<nav class="nav"> | ||
<div class="nav__wrapper"> | ||
<ul class="nav__list"> |
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.
오 nav 부분에서 버튼들을 리스트로 사용하는 방식은 생각해보지 못한 것 같아요~! 새로운 방식 알아갑니당
|
||
<section class="section"> | ||
<article class="card"> | ||
<img class="card__thumbnail" src="./img/thumb.png" alt="하늘"> |
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.
alt도 써주는 디테일!!! 쨩 !!
|
||
position: relative; | ||
top: 0; | ||
transition: all .25s ease-in; |
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.
오옷 ease-in 속성은 안써봤는데 덕분에 찾아보고 알아갑니당 !!><
✅ TodoList
✨ 구현 기능 명세
기본 과제
1. 두 개의 section 으로 나누어 left, right 를 양 쪽에 배치해요
2.
오늘 할 일
,내일 할 일
은 헤딩 태그를 / 할 일 리스트는<ul>
<li>
태그를 이용해요3.
내일 할 일
에는 2개의 리스트가 존재합니다 ! 각 리스트의 구분선과, 삭제 버튼이 있어요4. section 의 아래에는 input 태그와 추가 버튼이 존재해요
🎁 PR Point
flex: 1;
속성을 주어 화면 너비에 따라 섹션 영역의 너비를 조정해주었습니다😭 소요 시간, 어려웠던 점
4h
😎 구현 결과물
💻 velog 클론코딩
✨ 구현 기능 명세
기본 과제
심화 과제
1. 화면 가로 크기가 줄어듬에 따라서 카드 수가 4→3→2→1로 줄어들도록 구현
1. 반응형
2. media query
2. 카드에 hover 되었을 때 애니메이션 등록
🎁 PR Point
section->article
로 배치했는데 맞게 배치한건지 궁금합니당!!card
클래스 안에card__title
,card__info
,card__user
등등 각 요소들이 있는데background-color
를 모두 각각 지정해줘야만 하는건가요?!?card
의 배경색만 지정해주면 안에 있는 모든 요소들의 배경색으로 적용되도록... 할 수 있나용??😭 소요 시간, 어려웠던 점
2일......
justify-content
align-items
에 대해서 감을 확실히 잡은 것 같습니당!!flex-grow: 1;
속성을 썼더니 맨 마지막 카드가 여백에 맞춰서 꽉 채워져서 어려웠는데 미디어 쿼리를 써서 퍼센트를 지정해줘서 해결했씁니당!!!(금잔디조 쵝오)😎 구현 결과물
아니 왤케 느리져...? ㅋㅋ........고쳐보겠음다....
📝 웹 접근성
✨ 구현 기능 명세
🎁 PR Point
😭 소요 시간, 어려웠던 점
3h
😎 구현 결과물
https://github.com/IN-SOPT-WEB/HyeonJiPARK/blob/week1/week1/WA.md