Design comparison
SolutionDesign
Solution retrospective
Hello World ! :)
Community feedback
- @jimavictorPosted over 2 years ago
Hello there! Awesome work with this project. Looking at your solution, I would like to suggest that you add the second parameter to the fetch method in your
script.js
file to enable it fetch new advice every time a user clicks the dice button. You could add something like this..fetch("https://api.adviceslip.com/advice", { cache: "no-cache", });
Hope this was helpful..Marked as helpful0@karimfilaliPosted over 2 years agoHello Victor ! Thank you for your suggestion, I was wondering how to shorten the delay between two advices. It's very helpful. Have a great day !
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