Submitted 7 months ago
A responsive advice generator using advice generated from an API
@MorganEro
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Fairly simple project. I am going to start using more frameworks for my future projects.
Community feedback
- @NovikovIlyaPosted 7 months ago
Hello!
Cool job! I can suggest the following improvement - so that each time you click on the button, there is no selection from cache you can add the following code, which will remove the forced retrieval of data from the cache, add this in
index.js :
fetch('https://api.adviceslip.com/advice', { cache: 'no-store' });
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