Advice generator app with React & Styled Components

Solution retrospective
Let me know if this one works fine on your machines, I had a bug with firefox but made it work finally. Thank you, guys!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Well done, Julian, it works for me (I'm a Firefox user)! I really like what you did with the loading animation, which is a lot cooler than mine 😅
One thing about the dice button reappearing is, I'd suggest having it come back a bit sooner; I think even a second is good enough.
About the Firefox fix, I also did what you did at first, and then later I saw someone else's solution where they used a header object with a line for cache. You can try this as well:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
Once again, great job!
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