Design comparison
Solution retrospective
Hello guys, this is my second Frontend Mentor challenge completed and submitted. I found nothing complicated while building this project because I had spent some time with Javascript Promises and the fetch API method in Javascript. This enabled me to understand Asynchronous JS to some extent of applying it to Real World Projects, such as this one. I am so happy that i'm starting to submit challenges that I started and had finished, and the ones I just started and recently finished. Still taking on more challenges, to grow stronger in my Frontend Skills. Please feel free to support me with your recommendations about my project, and feedback on how I applied my code to this project and other ones coming. Thank you.
Community feedback
- @revin212Posted almost 2 years ago
Hello, congrats on completing the project!
I noticed on the 'preview site', I can only click the dice button once to load the advice content. After that, when I click the button again, the content doesn't change at all.
I found this problem too before, and I solved it with:
fetch(url, {cache: "no-store"})
After I assign the second parameter on the fetch function, the problem is solved for me. I found that solution from here.
I hope it can help you
Marked as helpful0
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