+ 1

How do I link jquery file to my Javascript file

js jq

8th Aug 2017, 2:14 PM
michael ahianyo
michael ahianyo - avatar
3 Answers
+ 3
You need to link the JQuery file(s) in the <head> part of your html, using an internet hosted copy of the wanted version(s): <script src="url_to_source"></script> Check this link to get official urls from JQuery CDN: http://code.jquery.com/
8th Aug 2017, 5:21 PM
visph
visph - avatar
+ 1
first of all, do you have the jQuery file downloaded on your computer or have u linked it properly to an external link??
8th Aug 2017, 4:59 PM
CoolCoder
CoolCoder - avatar
0
Yes I have a jQuery file downloaded on my computer
8th Aug 2017, 6:57 PM
michael ahianyo
michael ahianyo - avatar