<form>
id <input type="text" name="id">
pw <input type="text" name="pw">
<button type="submit">로그인</button>
</form>
<h2 id="result"></h2>
.error {
color:red;
}
.success {
color:green
}
// 입력한 id,pw가 맞을경우엔 success , 아니면 error출력
const id = "hello";
const pw = 'world';