Skip to content

[김리온] sprint2 - #9

Open
onlyrion-dotcom wants to merge 4 commits into
codeit-sprint-fullstack:basicfrom
onlyrion-dotcom:basic-김리온-sprint2

Hidden character warning

The head ref may contain hidden characters: "basic-\uae40\ub9ac\uc628-sprint2"
Open

[김리온] sprint2#9
onlyrion-dotcom wants to merge 4 commits into
codeit-sprint-fullstack:basicfrom
onlyrion-dotcom:basic-김리온-sprint2

Conversation

@onlyrion-dotcom

@onlyrion-dotcom onlyrion-dotcom commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

요구사항

  • README.md 파일을 작성해 주세요.
  • 본인 브랜치(ex)part1-홍길동)에 스프린트 미션을 업로드해 주세요.
  • 적절한 커밋 메시지를 남겨 주세요.
  • 1-Sprint-Mission 레포지토리를 fork 합니다.
  • GitHub에 PR(Pull Request)을 생성해 upstream의 본인 브랜치(ex)part1-홍길동)에 미션을 제출합니다.
  • Git 활용 과정에서 유닉스 커맨드를 활용해 주세요.
  • HTML, CSS 파일을 Netlify로 배포합니다.
    https://rainbow-donut-41cea9.netlify.app/

기본

공통

  • "판다마켓" 로고 클릭 시 루트 페이지("/")로 이동합니다.
  • SNS 아이콘들은 클릭 시 각각 "https://www.google.com/", "https://www.kakaocorp.com/page/" 으로 이동합니다.
  • input 요소에 focus in 일 때, 테두리 색상은 ##3692FF입니다.
  • input 요소에 focus out 일 때, 테두리는 없습니다.

로그인 페이지

  • "회원가입"버튼 클릭 시 "/signup" 페이지로 이동합니다.

회원가입 페이지

  • "로그인"버튼 클릭 시 "/login" 페이지로 이동합니다

심화

  • palette에 있는 color값들을 css 변수로 등록해서 사용합니다.
  • 구글 애널리틱스로 방문자 수 확인하기 할 수 있도록 설정합니다.
  • [ ] 비밀번호, 비밀번호 확인 input 요소 오른쪽에 비밀번호를 확인할 수 있는 눈 모양 아이콘을 추가합니다.

** 주요 변경사항

  • README.md 파일을 만들었습니다.
  • 로그인 / 회원가입 페이지를 만들었습니다.

멘토님에게 남길 메시지

  • 눈모양 아이콘은 JS 학습 후 추가할 예정입니다. 감사합니다!

@onlyrion-dotcom onlyrion-dotcom added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Aug 18, 2026
@onlyrion-dotcom onlyrion-dotcom added the 최종제출 스프린트 미션 최종 제출 PR입니다. 코드리뷰 및 평가해주세요! label Aug 18, 2026
@onlyrion-dotcom
onlyrion-dotcom requested review from reach0908 and removed request for yongsub-lee August 18, 2026 09:18
Comment thread style-sheet.css
@@ -0,0 +1,932 @@
title="style-sheet.css"

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.

파일 첫 두 줄의 title=..., :::writing...은 CSS 문법이 아니라 문서 작성 도구의 메타데이터로 보입니다. Chromium은 이 부분을 무시하고 이후 규칙을 읽어서 현재 화면은 보이지만, CSS 검사기나 다른 도구에서는 유효하지 않은 문장으로 처리됩니다.

두 줄을 삭제한 뒤 파일의 맨 위와 맨 아래에 코드 밖 문자열이 더 섞이지 않았는지 확인해주세요. ‘브라우저가 오류를 복구했다’와 ‘올바른 CSS다’는 어떤 차이가 있을까요? MDN의 CSS 문법 설명도 같이 읽어보시면 좋습니다.

Comment thread signup.html
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>로그인</title>

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.

회원가입 화면인데 브라우저 탭 제목이 로그인으로 표시됩니다. 화면 본문만 보지 않고 탭, 방문 기록, 즐겨찾기에서 사용자가 어떤 이름을 보게 될지도 함께 확인해주세요. 이 페이지의 역할에 맞는 title로 바꿔보면 좋겠습니다.

Comment thread style-sheet.css
SIGN-UP PAGE
======================================== */

.signup-page {

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.

여기부터 시작하는 회원가입 규칙은 위의 .login-page 규칙과 선택자 이름만 다르고 거의 같습니다. 지금은 input 높이나 footer 간격을 바꿀 때 두 구간을 모두 찾아야 해서 한쪽만 빠뜨리기 쉬워요.

아직 컴포넌트까지 만들 필요는 없습니다. 두 <body>에 공통 인증 화면 클래스를 하나 더 주고, 공통 layout, form, input, button 규칙만 한 번 작성해보면 어떨까요? 페이지별로 실제로 다른 규칙만 따로 남겨보세요.

Comment thread style-sheet.css
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

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.

로그인과 회원가입 전체를 각각 세로 중앙 정렬하면, 내용이 더 긴 회원가입 상자의 시작점이 더 위로 올라갑니다. 1440×900에서 확인했을 때 로그인 로고 top은 162px, 회원가입은 48px라서 두 페이지의 로고 위 여백이 같지 않았어요.

높이가 다른 두 상자를 각각 중앙에 놓으면 윗부분도 같은 위치가 될까요? 로고의 위 기준은 두 페이지에서 같은 값으로 두고, 그 아래 폼만 내용만큼 늘어나는 구조를 생각해보세요.

Comment thread style-sheet.css
}

.login-page .body-container {
width: 640px;

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.

랜딩에서는 rem을 잘 사용했는데 인증 화면은 여기서부터 640px, 24px, 56px처럼 px가 다시 많이 등장합니다. 이번 심화 요구는 브라우저의 기본 글꼴 크기가 달라질 때 간격과 요소 크기도 함께 변하는 것이어서 인증 화면까지 같은 기준이 필요해요.

모든 값을 한 번에 바꾸기보다 16px = 1rem을 기준으로 container 폭, gap, input 높이 중 한 묶음부터 바꾸고 브라우저 기본 글꼴 크기를 키워 비교해보세요. MDN의 CSS 길이 단위 문서도 참고해보시면 좋습니다.

Comment thread index.html
<a href="./">
<img src="images/logo.png" class="logo" alt="판다마켓 로고">
</a>
<a href="/login.html" class="login-button">로그인</a>

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.

현재 Netlify는 Pretty URLs 후처리로 이 /login.html을 배포 HTML에서 /login으로 바꿔주기 때문에 실제 사용자는 요구 경로로 이동합니다. 다만 source 자체도 요구사항의 /login으로 맞추면 Netlify 설정에 덜 의존하고, 다른 정적 서버에서 코드를 읽을 때도 의도가 바로 드러납니다.

같은 관점으로 인증 화면의 index.html, signup.html, /login.html 링크도 한 번에 점검해주세요. 같은 지적을 여러 줄에 반복하지 않기 위해 대표 줄에만 남깁니다. Netlify의 Pretty URLs 설명도 같이 보시면 좋습니다.

Comment thread login.html

<section>
<a href="https://www.google.com/"
target="_blank" rel="noopener noreferrer">

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.

[좋습니다 👏] 요구된 Google 주소를 정확히 사용했고, 새 창을 열 때 noopener noreferrer까지 함께 넣었습니다. 회원가입 화면에도 같은 기준을 일관되게 적용한 점이 좋아요. 기능 요구와 안전한 외부 링크 처리를 동시에 챙긴 코드입니다.

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

Labels

매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. 최종제출 스프린트 미션 최종 제출 PR입니다. 코드리뷰 및 평가해주세요!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants