Build a Random Quote Machineee

Hello guys. So i am making this quote Machine and i have one problem. When someone clicks on button New Quote I am getting all quotes from API it wont stop on just one. You can see problem here ==>

And my pen is
Ty all.

Hey @Zumra,
my suggestion is to call the API as the page loads and save the quotes in a global data type. Then, when the user clicks the button, you pull a quote out of that data type. Make sure to remove the quote from the data type.

That will solve your problem.