Skip to content

구현 과제 - 로그인/회원가입 모달 - 재웅#16

Open
AYFG wants to merge 3 commits intomainfrom
11-jaeWoong
Open

구현 과제 - 로그인/회원가입 모달 - 재웅#16
AYFG wants to merge 3 commits intomainfrom
11-jaeWoong

Conversation

@AYFG
Copy link
Copy Markdown

@AYFG AYFG commented Jul 30, 2023

로그인/회원가입 첫 번째 레이아웃을 구현하였습니다.

To do

  • 체크박스 기능 구현
  • 팀원들 피드백 받고 수정

Copy link
Copy Markdown
Collaborator

@merrybmc merrybmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

재웅님 첫 pr을 축하드립니다. 👍🎉🎉

전체적으로 태그도 가독성 좋게 잘 작성해주셨고
css도 가능한한 font 중복된 태그 없이 사용해주시고 가상 선택자를 엄청 잘 사용하셨네요 😀

<body>
<div class="wrapper">
<header class="header">
<h2>로그인 또는 회원가입</h2>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

로그인 또는 회원가입은 h1 태그로 쓰면 더 시맨틱한 태그가 될 것 같아요. :)

<div class="input-idpw">
<input id="id" class="input -id" placeholder="아이디" type="text" />
<label for="id"></label>
<strong class="strong one">아이디를 입력해 주세요.</strong>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

재웅님 코드
image

figma
image

figma하고 여기 "아이디를 입력해주세요." 경고메세지 하단 부분의 padding이 맞지 않고 아래의 input 박스하고
완전히 달라붙어 있어요. 조금만 더 늘려주시면 좋을 것 같아요.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다!! 수정해보겠습니다😍

style.css Outdated
Comment on lines +111 to +112
padding: 6px 0 10px;
padding: 6px 0 10px;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기 똑같은 padding이 두 번 들어가있어요 😃

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앗 하하하하하...😂매의 눈 감사합니다!!

004-login.html Outdated
<button class="btn-login" type="button">로그인</button>
<div class="Atag">
<a href="#">회원가입</a>
<a href="#">|</a>
Copy link
Copy Markdown
Collaborator

@merrybmc merrybmc Jul 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기 " | " 부분까지 커서가 point 모양으로 바뀌는데 이 부분을 제외하고 a 태그에 cursor point로 주면
더 깔끔해질 것 같아요!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

와 굿굿 감사합니다!!

style.css Outdated
}
.header {
text-align: center;
background-image: url(./images/close.png);
Copy link
Copy Markdown
Collaborator

@merrybmc merrybmc Jul 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

웹접근성을 고려해서 header 태그의 X 모양 이미지의 커서가 default 로 되어있는데 cursor로 바꾸면 좋을 것 같아요.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 맞네요! 이렇게 또 배웁니다👍👍

004-login.html Outdated
<content class="content">
<h2 class="welcome">위니브에서 여러분의 궁금증을 해결하세요! :)</h2>

<div class="input-idpw">
Copy link
Copy Markdown
Collaborator

@merrybmc merrybmc Jul 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기 <div class="input-idpw"> 태그의 닫는 부분이 안보여요. 😭
그리고 input 태그랑 연관되는 button 태그는 시맨틱한 태그와 나중에 배우는 js submit을 고려해서
div보다는 form 태그로 묶어주면 훨씬 좋을거에요.

https://developer.mozilla.org/ko/docs/Web/HTML/Element/form
참고하시면 좋을 것 같아요! 😀

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 실수했나봐요 😂 form 으로 묶고 참고링크 확인하겠습니다 감사합니다 병민님!!

@merrybmc
Copy link
Copy Markdown
Collaborator

혹시 체크박스를 클릭할 때 마다 오른쪽에서 파란색 체크박스가 왼쪽으로 들어왔다가
다시 해제할 때 오른쪽으로 나가는 애니메이션이 구현되어 있던데 애니메이션을 구현해준 이유가 따로 있으신지 궁금합니다. 😮

@AYFG AYFG closed this Jul 30, 2023
@merrybmc merrybmc reopened this Jul 30, 2023
@Hajin-Bang
Copy link
Copy Markdown

완전 퍼펙트가이 같아요

@AYFG
Copy link
Copy Markdown
Author

AYFG commented Jul 30, 2023

완전 퍼펙트가이 같아요

칭찬 감사합니다 열심히 하겠습니다😊

@AYFG
Copy link
Copy Markdown
Author

AYFG commented Jul 30, 2023

혹시 체크박스를 클릭할 때 마다 오른쪽에서 파란색 체크박스가 왼쪽으로 들어왔다가 다시 해제할 때 오른쪽으로 나가는 애니메이션이 구현되어 있던데 애니메이션을 구현해준 이유가 따로 있으신지 궁금합니다. 😮

강의시간에 배운 효과를 응용해보고 싶어서 사용해보았습니다!

@YennieJ
Copy link
Copy Markdown
Collaborator

YennieJ commented Jul 30, 2023

고생하셨습니다 재웅님!
1.사용하지 않는 CSS코드를 정리하고
2.연결하지 않으실거라면 가독성을위해 "-"를 삭제하면 좋을꺼같아요!
스크린샷 2023-07-31 오전 3 10 26

@handongsu
Copy link
Copy Markdown

너무 잘하시네요!! 잘봤습니다.

@AYFG
Copy link
Copy Markdown
Author

AYFG commented Jul 31, 2023

고생하셨습니다 재웅님! 1.사용하지 않는 CSS코드를 정리하고 2.연결하지 않으실거라면 가독성을위해 "-"를 삭제하면 좋을꺼같아요! 스크린샷 2023-07-31 오전 3 10 26

소중한 피드백 감사합니다!! 수정해보겠습니다😆

@AYFG
Copy link
Copy Markdown
Author

AYFG commented Jul 31, 2023

너무 잘하시네요!! 잘봤습니다.

동수님 칭찬 너무 감사합니다😁 동수님 코드보고 많이 보고 배웠어요 감사합니다!!!


<content class="content">
<h2 class="welcome">위니브에서 여러분의 궁금증을 해결하세요! :)</h2>
<h1 class="welcome">위니브에서 여러분의 궁금증을 해결하세요! :)</h1>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

h1>h2>h3 순서로 사용하라고 배웠던거 같아서 찾아봤더니
순서는 상관없지만 h1은 한번만 쓰는게 좋다고 하네요!
재웅님 덕분에 하나 배워갑니다!
https://look-blog.tistory.com/5

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

블로그 공유 감사합니다 잘읽었습니당

<form class="input-idpw">
<input id="id" class="input -id" placeholder="아이디" type="text" />
<label for="id"></label>
<strong class="strong one">아이디를 입력해 주세요.</strong>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strong tag 사용 👍

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁 감사해요

<hr class="rectangle rec-right"></hr>
</div>
<div class="another-login">
<form class="another-login">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전송할 양식이 없을때는 디자인을 위한 div 태그를 쓰는걸 어떨까요?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

알겠습니당!!

Comment on lines +202 to +237
.icon-google {
cursor: pointer;
padding: 15px;
background-repeat: no-repeat;
border: 1px solid #767676;
border-radius: 5px;
background-image: url(./images/Google__G__Logo\ 1.png);
background-position: 12px;
}
.icon-facebook {
cursor: pointer;
padding: 15px;
background-repeat: no-repeat;
border: 1px solid #2d9cdb;
border-radius: 5px;
background-image: url(./images/facebook.png);
background-position: 12px;
}
.icon-naver {
cursor: pointer;
padding: 15px;
background-repeat: no-repeat;
border: 1px solid #00bf18;
border-radius: 5px;
background-position: 12px;
background-image: url(./images/naver-logo.png);
}
.icon-kakao {
cursor: pointer;
padding: 15px;
background-repeat: no-repeat;
background-position: 12px;
border: 1px solid #f2c94c;
border-radius: 5px;
background-image: url(./images/message-circle.png);
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공통되는 CSS를 하나로 묶는다면 코드량도 좋고 가독성도 좋을꺼같아요!
ex)
[class^="icon"] {
cursor: pointer;
padding: 15px;
background-repeat: no-repeat;
border-radius: 5px;
background-position: 12px;
}
.icon-google {
border: 1px solid #767676;
background-image: url(./images/Google__G__Logo\ 1.png);
}
.icon-facebook {
border: 1px solid #2d9cdb;
background-image: url(./images/facebook.png);
}
.icon-naver {
border: 1px solid #00bf18;
background-image: url(./images/naver-logo.png);
}
.icon-kakao {
border: 1px solid #f2c94c;
background-image: url(./images/message-circle.png);
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

맞아요 중복되는 코드가 좀 많았는데 얼레벌레 넘어가버렸어요..꼬집어주셔서 감사합니다!!

height: 22px;
opacity: 0;
background: url(./images/check-box-on.png) 0 0/22px no-repeat;
transition: all 0.1s ease;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transition사용 하셨네여👍

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

맞아요 알아봐주셨군요😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants