I try to include jQuery 3 to my project so I can use it on some CMS sites.

Attempt:
--------

> 
> THEME = **app\design\frontend\company\fresh\**
> 
> 
> 

### **THEME**\web\js\jQuery\jquery-3.6.0.js

Copy pasted the code from [here](https://code.jquery.com/jquery-3.6.0.min.js) to the file:

```
/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.e ...

```

### **THEME**\requirejs-config.js

```
var config = {
    map: {
        '*': {
            jquery3: 'js/jQuery/jquery-3.6.0',
        }
    }
};

```

### **CMS Site:**

Now I inserted this to my CMS Site...

```
<script>
require([
    'jquery3'
], function ($) {
    $("body").css("color", "black");
});
</script>

```

...but I get **Uncaught TypeError: $ is not a function**

What am I doing wrong?

I flushed the cache of course.