Api or Array-- Random Qoute Machine

Hey guys, pls I need your help, I am currently on the FCC frontend project challenge,
working on the “Random Quote Maching”.

I don’t know if I should get my quote from an api, or if I should store large sum of text in an array.

Pls your suggestion will be appreciated.

I don’t think it matters whether you use an API or an array (though if you want some extra challenge, use an API).

1 Like

Thanks for the feedback.

I recommend starting with an array of quotes, then when you have that working, try switching it to an API. If you want to be fancy, try doing both, so if the API fails for some reason, you still have the array to fall back on.

1 Like

Array would be quite simple, so go for a API

1 Like

Thanks guys, for your suggestions. I appreciate.