RANDOM QUOTE GENERATOR USING API(problem)

RANDOM QUOTE GENERATOR USING API(problem)
0

#1

When the new quote button is clicked only the last quote from the api is shown .I don’t understand what I m doing wrong.
My code


#2

You might want to try to store the response in a local array after the success callback, and every time the button is clicked array shift the data to html.

also to see what the response looks like:
console.log(data)
so you can figure out how to traverse it