폼 조작하기
<form name="form">
<p>form</p>
<input type="text">
</form>
입력 요소에 .value 로 접근해서 값을 읽어오거나 값을 변경할 수 있다.
체크박스 요소에 .checked 값은 true, false 값을 리턴한다.
input 태그의 속성값이 radio인 요소에 접근하기
document.querySelectorAll('input[type="radio"]')