
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
안녕하세요
<script>
function hey(){
console.log('안녕하세요!')
}
</script>
<button onclick="hey()">영화기록하기</button>
상기와 같이 저장후 실행하여 영화기록하기를 클릭시 안녕하세요가 console에 나타난다고 하셨는데 저는 아래와 같이 오류가 나옵니다
Failed to load resource: the server responded with a status of 404 ()
감사합니다
전체 화면 캡
처
작성한 코드 및 에러 메세지
<script>
function hey(){
console.log('안녕하세요!')
}
</script>
</head>
<body>
<div class="mytitle">
<h1>내생에 최고의 영화들!</h1>
<button onclick="hey()">영화기록하기</button>
error message: Failed to load resource: the server responded with a status of 404 ()
