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 with Advice Slip API

#accessibility#bem
P

@Minamakhlouf

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


This is the first API call that I've had to make on this website so I'd appreciate any advice or resources for learning about this.

As always, all feedback is welcome

Community feedback

@codexshell

Posted

Hello there! Noticed a slight glitch with your application. When using firefox browser, firefox is reusing the responses from the first api call. This can easily be fixed by configuring your api requests to prevent browser caching.

Marked as helpful

0

P

@Minamakhlouf

Posted

@codexshell

Hi Silvanos,

Great catch on that glitch, I did all my tests in Chrome.

I'm unfamiliar with how to configure API requests to prevent browser caching. Can you point me to a resource where I can learn more about that?

0

@codexshell

Posted

@Minamakhlouf The following resource by MDN will should prove quite useful -> https://developer.mozilla.org/en-US/docs/Web/API/fetch

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