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 VueJS and Tailwind-css

AhmedTx 230

@AhmedTxl

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

Solution retrospective


I did this project in the journey of learning vuejs. When i did this project i face several problems with fetch and promises. I make the website able to generate new advice each time the button clicked, but when i release the production release in make it live i face an issue where Firefox can not fetch new advice when the button clicked, i fix this problem by adding ( _: new Date().getTime() ) that generates a unique value every time the fetchData() method is called, ensuring that the request URL is different every time.

Community feedback

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