You can do both. Use a CDN:
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
Then use your local copy as a fallback:
<script> window.jQuery || document.write('<script src="/js/jquery-3.5.1.min.js"><\/script>') </script>
From: timjames.me/jquery-and-jquery-ui-f...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can do both. Use a CDN:
Then use your local copy as a fallback:
From: timjames.me/jquery-and-jquery-ui-f...