@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
I really do not understand how to get the data from my api and make it useable in a page.
@hashtagyolo1 Do you know how to access data from nested objects/arrays?
@gothamknight Just had a buddy jump on the line and help me out. I do know how to do that, but wasn't sure enough of myself to know where to go https://codepen.io/LiciniusRex/pen/ZJoGVp All functioning. Now to make it pretty