Good day, campers. I’m here again for your help. It’s embarrassing to ask again and again for help. This is my first project involving the fetch API. I made every effort to solve my problem on my own. But I haven’t been able to do so.
I don’t know how to use fetch statement inner data in a tweet function to display that data(quote and author) in the tweet box.
Random Quote Machine
I don’t think the requirement was to actually use the API for the test. Since we don’t cover API until the next certification, I personally opted to just create my own object of quote:authors and randomly sort through those.
It felt more authentic than just copying or trying to kludge together the API stuff, especially since that’s the whole focus of the next series of lessons.