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 Gen App built w/ React & Tailwind

@TroyRichardsDA

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


Can anyone tell me how I can make it so that the api doesn't require 2 seconds before a refresh? The api endpoint says that it needs 2 seconds or it will not run but I've seen a solution where they got it to update rapidly.

Community feedback

@StormKing969

Posted

The reason why you need to wait 2 seconds is because the response gets cached and if you make a call faster than that, then you end up with the same response as before. So if you disable your cache, you should be able to rapidly update your quotes.

Hope that helps :)

Marked as helpful

1

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