Design comparison
Solution retrospective
For some reason the button dosn't work on Firefox, though refreshing the page loads a new advice. Can anyone figure out why?
Community feedback
- @SkidragonPosted over 2 years ago
In firefox and maybe in most modern browsers, it caches the same request like a key so it just keeps going to the browser cache to get the info instead of the api. I added a timestamp query param that gives me a new value (key) everytime at the end of the api endpoint instead of updating the headers to no-cache because it wasn't working in my case. Here is an example: https://api.adviceslip.com/advice?timestamp=1646669540478
Marked as helpful1 - Account deleted
Hello there! 👋
Congratulations on finishing your challenge! 🎉
I have some feedback on this solution:
-
put the quote inside a <blockquote> tag instead of p to be more semantic
-
check the HTML report to fix accessiblity issues
i hope this is helpful and goodluck!
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