Design comparison
SolutionDesign
Community feedback
- @revin212Posted almost 2 years ago
Hello there, congrats for completing the challange!
I noticed that you can't click the dice button quickly to change the advice text, it have some delay. To reduce the delay, use :
{cache: "no-store"}
as the fetch function second argument :
fetch('https://api.adviceslip.com/advice', {cache: "no-store"})
It will make the fetched data not stored to the browser's cache
I hope that helps you!
Marked as helpful1 - @JaneMorozPosted almost 2 years ago
Hi, Alexander! Your solution is great! ❤️
The only thing I've noticed:
- You need to wrap the main content of the page into the <main> tag. It will solve all these landmark issues and improve accessibility.
Keep it up! And good luck 🍀
Marked as helpful1
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