인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

jaelyang's profile image
jaelyang

asked

WEB2 - JavaScript

라이브러리에 대해서 질문있습니다

Written on

·

216

0

google cdn (jQuery)을 html파일에 참조?한 상태입니다

     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

    <script src="colors.js"></script>

그리고 강의에서는 colors.js 파일에 들어가서 jQuery를 사용하는데,

해당 jQuery는 html파일에 첨부?하였는데 어떻게 colors.js에서 jQuery를 사용할 수 있는 건가요?

해당 jQuery는 html파일에서만 사용할 수 있는거 아닌가요?

colors.js 파일에 jQuery를 첨부해야하는거 아닌가요?

그리고 라이브러리나 js파일을 html에서 사용할때, 그 라이브러리,js 파일의 코드가 html 파일로 그대로 옮겨지는 방식인건가요?

javascript

Answer

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

asked

Ask a question