I’m having issues with my Random Quote Generator. I have successfully received data from the api and have inserted the quote and author into my html when the page loads but when I click the button to get a new quote it just posts the same quote. If I wait 5 or so minutes and then click the button I will receive a new quote. I have been trying to figure this out for days now and have read just about every post I can find but I don’t seem to be getting any closer.
Also, unfortunately I can’t get my JS code to work on codepen… but here’s my code anyway: