-
Notifications
You must be signed in to change notification settings - Fork 35
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
[정인재] Sprint2 #51
The head ref may contain hidden characters: "Basic-\uC815\uC778\uC7AC-sprint2"
[정인재] Sprint2 #51
Conversation
크롬 개발자 모드에서 반응형 모드로 뷰포트의 너비를 1920px 사이즈로 맞춰서 작업을 하시면 시안대로 작업이 가능합니다. |
sprint1에 관한 피드백은 #13 을 참고해주세요 ! 로컬에서
위의 과정을 거치면 스프린트 미션 1에 이어서 미션2를 할 수 있습니다. |
PR을 올리는 과정에서 충돌이 일어났는데 이 부분 해결하시고 다시 PR 올려주시겠어요 ? |
signup/index.html
Outdated
<div class="signup"> | ||
<div class="signup-input"> | ||
<label>이메일</label> | ||
<input name="email" type="email" placeholder="이메일을 입력해주세요" /> | ||
</div> | ||
<div class="signup-input"> | ||
<label>닉네임</label> | ||
<input name="nickname" type="nickname" placeholder="닉네임을 입력해주세요" /> | ||
</div> | ||
<div class="signup-input"> | ||
<label>비밀번호</label> | ||
<input name="password" type="password" placeholder="비밀번호를 입력해주세요" /> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | ||
class="bi bi-eye-slash" viewBox="0 0 16 16"> | ||
<path | ||
d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z" /> | ||
<path | ||
d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829" /> | ||
<path | ||
d="M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z" /> | ||
</svg> | ||
</div> | ||
|
||
<div class="signup-input"> | ||
<label>비밀번호 확인</label> | ||
<input name="password-check" type="password-check" placeholder="비밀번호를 다시 한 번 입력해주세요" /> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | ||
class="bi bi-eye-slash" viewBox="0 0 16 16"> | ||
<path | ||
d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z" /> | ||
<path | ||
d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829" /> | ||
<path | ||
d="M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z" /> | ||
</svg> | ||
|
||
</div> | ||
|
||
<button class="signup-button">회원가입</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.
input
및 button
과 같이 서버에 제출하는 form
요소는 form
태그로 감싸주어야합니다.
<div class="signup"> | |
<div class="signup-input"> | |
<label>이메일</label> | |
<input name="email" type="email" placeholder="이메일을 입력해주세요" /> | |
</div> | |
<div class="signup-input"> | |
<label>닉네임</label> | |
<input name="nickname" type="nickname" placeholder="닉네임을 입력해주세요" /> | |
</div> | |
<div class="signup-input"> | |
<label>비밀번호</label> | |
<input name="password" type="password" placeholder="비밀번호를 입력해주세요" /> | |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | |
class="bi bi-eye-slash" viewBox="0 0 16 16"> | |
<path | |
d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z" /> | |
<path | |
d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829" /> | |
<path | |
d="M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z" /> | |
</svg> | |
</div> | |
<div class="signup-input"> | |
<label>비밀번호 확인</label> | |
<input name="password-check" type="password-check" placeholder="비밀번호를 다시 한 번 입력해주세요" /> | |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | |
class="bi bi-eye-slash" viewBox="0 0 16 16"> | |
<path | |
d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z" /> | |
<path | |
d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829" /> | |
<path | |
d="M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z" /> | |
</svg> | |
</div> | |
<button class="signup-button">회원가입</button> | |
<form class="signup"> | |
<div class="signup-input"> | |
<label>이메일</label> | |
<input name="email" type="email" placeholder="이메일을 입력해주세요" /> | |
</div> | |
<div class="signup-input"> | |
<label>닉네임</label> | |
<input name="nickname" type="nickname" placeholder="닉네임을 입력해주세요" /> | |
</div> | |
<div class="signup-input"> | |
<label>비밀번호</label> | |
<input name="password" type="password" placeholder="비밀번호를 입력해주세요" /> | |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | |
class="bi bi-eye-slash" viewBox="0 0 16 16"> | |
<path | |
d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z" /> | |
<path | |
d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829" /> | |
<path | |
d="M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z" /> | |
</svg> | |
</div> | |
<div class="signup-input"> | |
<label>비밀번호 확인</label> | |
<input name="password-check" type="password-check" placeholder="비밀번호를 다시 한 번 입력해주세요" /> | |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" | |
class="bi bi-eye-slash" viewBox="0 0 16 16"> | |
<path | |
d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z" /> | |
<path | |
d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829" /> | |
<path | |
d="M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z" /> | |
</svg> | |
</div> | |
<button class="signup-button">회원가입</button> | |
</form> |
signup/index.html
Outdated
<div class="signup"> | ||
<div class="signup-input"> | ||
<label>이메일</label> | ||
<input name="email" type="email" placeholder="이메일을 입력해주세요" /> |
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
을 잘 적어주셨네요 ! input type
을 적어줌으로써 브라우저가 몇가지 유용한 동작을 기본제공하는데 어떤것들이 있을까요 ?
signup/index.html
Outdated
</div> | ||
<div class="signup-input"> | ||
<label>닉네임</label> | ||
<input name="nickname" type="nickname" placeholder="닉네임을 입력해주세요" /> |
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.
input type
속성에는 nickname
이라는 속성은 없습니다.
input type
속성에 대해서 다시 한번 학습 부탁드립니다 ~ ㅎㅎ
https://tcpschool.com/html-tag-attrs/input-type#google_vignette
signup/index.html
Outdated
<label>이메일</label> | ||
<input name="email" type="email" placeholder="이메일을 입력해주세요" /> |
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.
label
과 input
을 어떤 속성을 통해 연결시켜줘야합니다. 현재로써는 label
이 어는 input
의 라벨인지 알 수 없습니다. 어떻게 할 수 있을까요?
<div class="signup-input"> | ||
<label>비밀번호</label> | ||
<input name="password" type="password" placeholder="비밀번호를 입력해주세요" /> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" |
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.
비밀번호가 보이도록 사용자로부터 이벤트를 유발시키는것이기 때문에 svg
를 button
으로 감싸주면 좀 더 좋다고 생각합니다.
signup/index.html
Outdated
|
||
</div> | ||
|
||
<button class="signup-button">회원가입</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.
폼을 서버로 제출하기 위해서는 form
안에서 button
은 어느 type
을 가져야 할까요?
스프린트 미션 하시느라 수고많으셨습니다 ! |
요구사항
기본
심화
주요 변경사항
스크린샷
멘토에게
이러한 차이점까지 확인하며 작업하고싶은데 방법이있을까요?