Advice Generator App using API | Fetch API | Less | Promises

Solution retrospective
how you import local json file ? Feedbacks Appriciated !
Please log in to post a comment
Log in with GitHubCommunity feedback
- @StormKing969
Hi Anurag, I took some time to look at your solution and you did a great job!
However, I'm not sure if you noticed but your button doesn't seem to work as intended. And the reason for it is that after your first fetch, the info you get from the API gets cached. The way I fixed that issue in my solution was by disabling the cache.
Overall you did well :)
Hope this help and happy coding!
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