Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Javascript , Promise , Advice Slip API

Yokke 640

@Jexinte

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

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 !

Community feedback

@lipe11

Posted

Hi, you can fix it like this to work on firefox as well:

fetch(url, { cache: 'no-cache' })

cheers

Marked as helpful

1

Yokke 640

@Jexinte

Posted

@lipe11 Thanks sir it helps me a lot !

0

Please log in to post a comment

Log in with GitHub
Discord logo

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