Advice Generator With JavaScript ES6 and API

Solution retrospective
Just completed this API challenge. This is actually my first time building something with API. I'm still not used to working with API. If anyone has useful resources that I can use to learn API faster, I will appreciate them. Thanks.
Please feel free to give feedback. Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Hi Olalekan, I like your spinning dice animation! I'm viewing this on Firefox and I'm not able to load the next advice. This is a known issue that's most likely due to caching, so if you want users on Firefox to be able to use your app also, try adding a header object in the fetch method, like this:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
If you have Firefox, you can test it out before and after. Once again, great work building this 🙂
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord