Random Quote Machine - Need Help with jQuery

Hello,

I’m attempting to build the Random Quote Machine. I’m currently trying to implement the “New Quote” button to change the text that appears on the screen. I haven’t been able to make this work at all and haven’t yet even tried to add an API. I’ve double checked the selectors in the jQuery code and looked over the JSON/API section on FCC multiple times but clicking on my “New Quote” button does not change my text at all. Any assistance would be appreciated!

Here’s my codepen:

https://codepen.io/Steve940/pen/JrvoKW

Solved.

I had my jQuery code in between script tags in the HTML section. Moving the code into the javascript box solved the issue. Not sure why.

I understand now. Thank you!