Design comparison
Solution retrospective
Hello everyone! Many thanks to the Frontend Mentors who have created this challenge, I found it very interesting and enjoyable to work on <3! One of the issues I encountered while creating the solution for this challenge was with the Slip Advice API, which has implemented a cache, as they say: "Note: Advice is cached for 2 seconds. Any repeat request within 2 seconds will return the same piece of advice." However, if it's cached, it will just stay there, and you won't get any advice when clicking the button. So, I decided to set the cache to false when making the GET request :). If you have any better ideas, please share them with me!
Community feedback
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