Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 4 years ago

Advice generator app

Andrew Kohn•90
@AndrewKohn
A solution to the Advice generator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Keep in mind, I just learned about fetch() and getting data from outside sources. The problem I have though is that the json data doesn't change after hitting the advice button in mozilla. I got it to work in other browsers and on my phone/tablet, but mozilla is giving me an error. It does work and changes content if the use deletes their cache, but problem continues where if the user wants more randomized advice, then they would need to delete the cache each time before hitting the button.

Besides that issue, please help me with any suggestions or feedback! Thanks!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Andrew Kohn's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License