javascript에서 특정 태그, id, class를 가진 element에 접근하고 싶다면 어떻게 해야할까?querySelector(), querySelectorAll() 메소드를 통해서 특정한 element에 접근이 가능하다. See the Pen querySelectorAll() Example by EBEL21 (@ebel21) on CodePen. 위의 예제는 querySelectorAll() 함수를 이용해 특정 element의 색을 빨강색으로 바꾸는 예제이다. 첫 번째 input text에는 바꾸고 싶은 element의 tag, class, id의 이름을, 두 번째 input text에는 tag, class, id등 어떤 속성인지를 구분해 써준다. ex) A / tag, B / class que..