advice generator

Solution retrospective
work with 3ed party api
What specific areas of your project would you like help with?an amazing clean code just review my code
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Fardindevm
I'm using firefox and your button doesn't generate new advice for me. If it work good for you so it's from firefox cache and users with firefox browser can't see it. Add this after your fetch code to fix it. { cache: "no-cache" } like: let response = await fetch("https://api.adviceslip.com/advice", { cache: "no-cache" }) That worked for me! if that hepled, please mark this comment as a helpful comment :)
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