웹프로그래밍 기초 천인국 지음 참고하여 작성하였습니다.
,
let food = document.getElementById("spain"); 만약 요소가 발견되면 getElementById() 요소를 객체 형태로 반환 요소가 발견되지 않으면 food는 null이 됨