https://bobbyhadz.com/blog/javascript-cannot-read-property-queryselector-of-null Cannot read properties of null (reading 'querySelector') | bobbyhadz To solve the "Cannot read property 'querySelector' of null" error, make sure you're using the correct `id` when selecting the DOM element. bobbyhadz.com DOM에 존재하지 않는 요소를 선택해서 발생한 오류. include한 파일안에 그 요소가 없어서 발생했다.