Hi folks, was given help to get this work yesterday and forgot to save before I sgut down and I'm damned if I can remember what I had to do. I think it was changing the json to jsonp at the end but that doesn't seem to do anything
@SkyC0der yeah i get that part, i'm just not connecting the pieces in my mind of how to write it out
@BrianWilliams28 How would you get the last element of an array?
@Lorrie01 I can build a quote generator like that. It's the api I've been struggling with. FCC has done nothing to explain what I'm actually doing with it so having to try and cobble it together from elsewhere and help on here
@SkyC0der the very last element or the element preceeding the current element?
@hashtagyolo1 I apologize. I was only trying to help.
@Lorrie01 sorry, didn't mean to come across rude. Been struggling with this for a bit now. Without getting this call to work I can't do any more on site. Somewhat stressful
@SkyC0der arr.length - i?
@BrianWilliams28 Correct, that would get you the last element
@BrianWilliams28 Use the length - 1 and length - 2 for the last two elements