you have wrote wrong quote.innerHTML = data.content; you will write this quote.innerHTML = data.text;  as you can see in json the quote is in text var
you have wrote wrong
you will write this
as you can see in json the quote is in text var