Design comparison
Solution retrospective
This was a great exercise to start my morning off with. The one major issue I had initially was that the cache utilized in the API caused the function to call the same quote despite waiting the 2 seconds before hitting for a new quote. I utilized StackOverflow to look up solutions in order to resolve this issue that every time the user hits the dice they would receive a new quote. The solution I ended up using includes an object cache and sets it to no cache that way the data is constantly refreshing when the dice button is clicked.
Community feedback
- @dawkey95Posted over 1 year ago
Nice work on the solution. I quite like the little change with the title and the advice # with the green border. 👍🏼Cool idea to just make it that little bit more personal. 😃
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