Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
멘토에게
미션4의 코드리뷰를 반영하여 수정하였습니다.
공통으로 사용하는 부분은 common.js 파일에 작성하였습니다.
이메일 유효성 확인 부분에서
값이 없을 경우 "이메일을 입력해주세요" 에러 메세지가 보이고
이메일 형식에 맞지 않는 경우 "잘못된 이메일 형식입니다" 에러 메세지가 보이도록 해서
3개 조건으로 else를 쓰지 않고 return 하여 조건문을 작성하였는데 잘 작성한 건지 모르겠습니다.
셀프 코드 리뷰를 통해 질문 이어가겠습니다.