0
How to implement jQuery
From what I know, to use the jQuery you need to download the package and you have access to the library. Would you then save the library in you root folder and then just the "script src" code to use a particular code? I also know it's said solid knowledge of javascript is needed to work with jQuery. Is linking an external page of js code that the developer writes essentially the same thing as using the jQuery library, minus the having to write your own codes out? I read a bunch of stuff on the jQuery site and I got is that it more streamlines your Javascript coding. Thanks for any help!
2 odpowiedzi
+ 2
You can do it with cdn link
I have use cdn link in this project
https://code.sololearn.com/Wm41GW5Ru10A/?ref=app
html section line 62 cdn link
0
There is something known as CDN (Content delivery network) provided by jquery
More details:
https://code.jquery.com/
Choose the jquery 3.x minified (Google search for their differences if interested)
Then, include the code snippet in your HTML <head>
By doing so, you can use jquery in SoloLearn, or even locally without downloading jquery
But this does require internet access during development to access the CDN, if you prefer everything local then proceed to download the jquery (from the same site provided) and in the HTML <head> <scripts> refer to the local copy of jquery