I’m successfully pulling a random quote from an API, but I’m only able to pull one. Clicking the button more than once does nothing.
I’ve searched around, but I can’t find a clear answer. Any idea what’s causing this?
Please excuse the ugliness. I haven’t started styling the app yet.
Update: My request was getting cached (pulling one quote and keeping it). I had to turn off cache for this function. This Stack Overflow question helped clear up the issue. Thanks again for all the helpful answers – this community is awesome