Status Undefined

Can anyone kindly point me in the right direction as to why my JSON calls are not working - when I console log them it comes up with “undefined”.

http://codepen.io/jameswinfield/pen/Gqdkvg?editors=1111

I’ve been racking my brain for a good hour or so now.

Thanks
James

Your JSON calls are working, but you are trying to access properties that do not exist. Try console.log(data) and see which properties are available. An online stream will have way more properties than an offline stream.

Much appreciated - the nudge I needed!

1 Like