I am trying to link a jquery page to my HTML. Is there a way to do this without using a CDN or downloading from the jquery site? I want it to be like linking a standard js file (like below).
<script src="script.js"></script>
I am trying to link a jquery page to my HTML. Is there a way to do this without using a CDN or downloading from the jquery site? I want it to be like linking a standard js file (like below).
<script src="script.js"></script>
Lets say you want to use the latest version (3.6.0), one way to do this, would be to go to jQuery official site and choose the version you want to use, then copy the src code link, like so:
Navigate to it, copy all the code and paste it into your own js file which you can name whatever way you would like. And then you would be able to link jQuery like so: <script src="MyJquery.js"></script>
In the case of my example I'm using the format min.js
, the minified version, so you would need to do it like so: <script src="MyJquery.min.js"></script>