Unable to run jquery code


I'm trying to run jquery code. For test on how to do it, I'm trying with this simple code:


I've created the page structure inside bootstrap studio, created a button using custom code, and then inserted de jquery code in another custom code component:




What am I doing wrong?

I guess I missing something very basic here, so, I apologize for that!

Thanks in advance!

enter image description here