Advice Generator using Vite, React, Tailwind

Solution retrospective
Fairly straightforward. Using React for this challenge.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @elaineleung
Hi Warren, I like your idea of using a fade out transition for the button after clicking, will pin this for later. I'm viewing this on Firefox and can't see the next advice slips loading due to caching, which is a known issue I see for many of these solutions. You can test it out on Firefox also. I ended up adding a line for cache in the header object for fetch:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
. See whether that works for you 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