Javascript , Promise , Advice Slip API

Solution retrospective
Hey all ,
My first challenge with an API and honestly I wasn't ready to finish it quickly .
I need a feedback on my request because it's working fine( on brave & chrom browser) but on firefox even the request is fullfiled it's not generating another quote when the dice is clicked it's always gonna take the first citation when we clicked the first time and show it again and again so if someone can help me to understand why !
Thanks for reading !
Please log in to post a comment
Log in with GitHubCommunity feedback
- @lipe11
Hi, you can fix it like this to work on firefox as well:
fetch(url, { cache: 'no-cache' })
cheers
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