✔️ 에러 코드
Password field is not contained in a form
✔️ 에러가 나온 이유
password는 form에 감싸져 있지 않다고 오류가 떴다!
✔️ 에러 해결 방법
input 태그를 <form> </form> 으로 묶어주었다.
👇에러코드 👇
<div className='btn'>
<input type='email'></input>
<input type='password'></input>
<Button text={"Log in"}></Button>
</div>
👇에러 수정 코드 👇
<form>
<input id='userEmail' type='email'></input>
<input id='pwd' type='password' maxLength='8'></input>
<Button text={"Log in"}></Button>
</form>
참고)
https://webfirewood.tistory.com/75