1. DOM - html 문서의 구조와 컨텐츠를 JS 에서 조작할 수 있게함 - 트리 구조: 루트 노드인 Document 객체로부터 시작 -> 계층 구조 -> 왜 트리 구조여야하는가? - html은 상하구조가 확실함 const button = document.querySelector("button"); -> 특정 노드를 뽑아서 변수에 할당해놓음 textContent: -> 어떤 텍스트가 들어가있는가 innerHTML: -> 어떤 구조인가 But, 바꾸려고하는 행위는 언제나 조심해야함 ! let paragraph = document.createElement("p"); paragraph.appendChild(p)..