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

Advice generator app

fetch, sass/scss, typescript, accessibility
Caramello•180
@BuzzFizzer
A solution to the Advice generator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


console.log("Hello Programmers"),

Taking on a challenge like this after a level 4 one makes this one seem much easier.

Technologies Used:

  • TypeScript
  • SCSS/Sass

Difficulties Encountered:

  • API Endpoint: The API endpoint intended to provide random advice did not function as anticipated. It consistently returned the same advice, even though the documentation indicated that it shouldn't when allowing a 2-second gap between requests. (I resolved this by creating an additional function that generates random numbers and using an alternative endpoint to retrieve an advice with the generated number.)

If you have any suggestions on how I can improve my code, I would greatly appreciate it if you could leave a comment. Thank you in advance. (✿◠‿◠)

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 Caramello'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
Frontend Mentor logo

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

Frontend Mentor

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

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