Skip to content
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

16주차 Assignment - 윤현승 #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dbsgustmd
Copy link

Description

<!— 구현 및 작업 내용을 적어주세요(지우고 작성해주세요) —>

Important content

<!— 주의 깊게 봐줬으면 하는 부분을 적어주세요(지우고 작성해주세요) —>

Question

<!— 궁금한 점을 적어주세요(지우고 작성해주세요) —>

Reference

<!— 참고한 레퍼런스가 있다면 공유해 주세요(지우고 작성해주세요) —>

Copy link

Choose a reason for hiding this comment

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

package.json과 package.lock.json은 어떤 차이가 있을까요~?

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Login</title>
<link rel="stylesheet" href="./index.css" />
Copy link

Choose a reason for hiding this comment

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

크 ... 인라인으로 안쓰신 정성... 👍

signInWithEmailAndPassword(auth, email, password)
.then((userCredential) => {
const user = userCredential.user;
console.log("로그인 성공:", user);
Copy link

Choose a reason for hiding this comment

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

불필요한 콘솔은 꼭꼭 지우는 습관을 들여주세요!

https://velog.io/@yejiiha/React-console.log-%EC%A7%80%EC%9A%B0%EA%B8%B0

요런 방법도 있습니다

Copy link
Author

Choose a reason for hiding this comment

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

명심하겠습니다!


// 회원가입 버튼 클릭
document
.getElementById("signupButton")
Copy link

Choose a reason for hiding this comment

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

만약 요 요소를 못찾으면 어떻게 될까요~?

document
.getElementById("signupButton")
.addEventListener("click", (event) => {
event.preventDefault();
Copy link

Choose a reason for hiding this comment

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

하나 공부해보시면 좋을 키워드 추천드립니다

이벤트 버블링 <- 추천추천

Copy link
Author

Choose a reason for hiding this comment

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

재밌네요..!

<button id="signInButton" type="submit">로그인</button>
</form>
</div>
<script type="module">
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants