advice-generator-app

Solution retrospective
Hope you like my solution :D That was fun!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @arkaroy135
Hello Davide, Hope you are doing well. You did a very good job in designing, but the advises are not generating when clicking the button.
const promise = fetch(url).then((response) => response.json());
the possible solution could be to use 'Let' instead of 'const' when declaring this variable.
Let promise = fetch(url, { cache: "no-store" }).then((response)=>response.json());
Use this instead. Everything else looks fine. 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