Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Responsive Advice generator app

Gema Refantero•70
@Refara08
A solution to the Advice generator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi everyone 😊!

It was my first challenge using fetch API. At first, I still confuse to figure out how to fetch the data using Async/await, and also I use Immediately invoked function expression (IIFE) so it was actually make it harder for me. In the end, I got it working and I'm happy about it.

But, I'm sure the coding I wrote (especially on JS) could be further improved to be more efficient or maybe there are more better solution than mine. So any feedback to improve my coding is very welcome!! 😁

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 Gema Refantero'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