Advice generator app with React & Styled Components
Design comparison
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!
Community feedback
- @elaineleungPosted about 2 years ago
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 helpful1@juliflorezgPosted about 2 years ago@elaineleung Hey Elaine!, thank you so much for your comments, I find them highly valuable. I just looked at your solution and your animations are cool as well! For the dice button, I found that to be a good time for the average time it takes to read the advice (maybe I'm slower since I'm no native-english speaker haha) but I definitely will tweak that and check the fetch options as well.
0
Please log in to post a comment
Log in with GitHubJoin 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