Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Advice Generator using vanilla js and css flexbox/media query

Dimitri 530

@DimitriTsikaridze

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

Shiva 670

@shivaprakash-sudo

Posted

Hello Dimitri,

The Advice API caches the data for 2 seconds, this makes the app not work on Firefox and make the advices delay in other browsers. To overcome this issue, you just need to add { cache: "no-cache" } as the second argument to the fetch method.

Also, try to wrap the content inside a main tag, to make the code more semantic.

Happy coding!

Marked as helpful

0

Dimitri 530

@DimitriTsikaridze

Posted

@shivaprakash-sudo Thanks for feedback, appreciate it.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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