Advice generator

Solution retrospective
First time using an API on my own, not really sure what all of it means but I kind of understand it.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Hi Tom, well done on this challenge, everything looks good 🙂
Just wanted to let you know, I use Firefox and I'm not able to view past the second loaded advice because of an issue that's commonly seen on Firefox, which is that the next advice doesn't load due to caching. All you just need to add a header object in the fetch method:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
You can test it out and see as well!
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