Random Quote Help React

Hiii! Need a bit of help with React. I created a codepen page where I’m getting quotes from an API.

https://codepen.io/jolio007/pen/mqKjyM As a first step this works

However, I’d like my button to update the quote every time I click on it.

https://codepen.io/jolio007/pen/EbpVWj - I’m stuck on this.

Please help

This should point you in the right direction:

You want to use this.functionName (e.g. this.getQuote) and ensure you properly bind this in your constructor()

Let me know if you still have trouble figuring it out from that.