JQuery not working in Code Pen

JQuery not working in Code Pen
0.0 0

#1

No matter what I do, my JQuery won’t work within codepen. I just want the text to change when the button is pressed to “test”. Any help would be appreciated! Here is my link :https://codepen.io/jlayton75/full/mxqbVo


#2

Did you load jQuery into your pen? It does not appear you did. You did load https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js (jQuery UI), but that is an add on library you can use with jQuery. You still must load jQuery first. Delete the link you added and then use the Quick add link to add jQuery and your code will work.


#3

Thank you very much! That fixed it!