I’m completing the random quote machine challenge. I’ve got my quote from an API and i can see it as an object in the console log however when i try to access it via “objectName”.quote i get an undefined. I’m sure it is a simple solution but i’m super stuck can anyone help? Here is the codePen:
Thanks in advance!
Hi, the response data is an Array. you are trying
Instead you need
Tiny mistake, you got the whole thing figured out well!! Congrats
As @destrotns points out above, pull is an array. It is an array with only one element, which is why you need the  to reference the first element of it.
Ah of course! Thankyou very much, think it just got a bit late last night