const text = document.getElementById -> id로 찾아서 값출력 document.getElementsByClassName ->claa로 찾아서 값출력 text.innerText="" //innerText를 이용해서 값을 변화시킬 수 있다. getElementById() getElementsByClassName() getElementsByTagName() 이렇게 자바스크립트를 통해 HTML을 가져올 수 있는 것이 크게 세가지 있음 이중에서 querySelector를 가장 많이 쓸 것임 getElementById() : 말 그대로 id , 하나의 값을 반환해줄때 쓴다 getElementsByClassName() : 클래스 네임을 가져옴, array에 할당 getElementsBy..