How to override different version of Jquery in Drupal 8 using theme
Drupal 8 use its own jquery version by default and if you want to use the other version of jQuery instead of default than this tutorials steps is for you, sometimes we need different version to other plugins and libraries to work if you are using external libraries or something like that . Follow the steps
1) we need to create the "libraries-override" attribute in yourtheme.info.yml
libraries-override:
core/jquery: yourtheme/jquery-custom
2) Second download and placed your js file in theme folder like example: