강의

멘토링

커뮤니티

Inflearn Community Q&A

kyungjinju2057's profile image
kyungjinju2057

asked

Learn Public Data (Open Data) APIs Part 1

Basic JS usage for handling JSON data1

JSON 데이터를 다루기 위한 JS 기본 사용법1 질문

Written on

·

545

0

안녕하세요

 

html 페이지에 JSON을 연결하고

consolelog를 실행시키는 경우, 크롬에서 작동을 안 합니다.

에러 메세지가 나는데 아마 JSON이 정상 연동 안 된 것 같습니다.

Failed to load resource: net::ERR_FILE_NOT_FOUND

 

js 파일의 경로 설정이 뭔가 잘못된 것 같은데 맞을까요?

-js 파일의 경로는 다음과 같습니다.

C:\Users\caram\OneDrive\Desktop\PUBLIC_API_220123

-"scr"에는 경로를 이렇게 입력했습니다.

<script src="./PUBLIC_API_220123/json_001.js"></script>

 

오류 해결 방법 문의 드립니다.

감사합니다.

web-api

Answer

This question is waiting for answers
Be the first to answer!
kyungjinju2057's profile image
kyungjinju2057

asked

Ask a question