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 App by Ferdinalaxewall

#accessibility#axios#bootstrap#fetch#theme-ui

@ferdinalaxewall

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

AntoineC 1,180

@AntoineC-dev

Posted

Hello Ferdinalaxewall. Congratulations on completing this challenge 🎉. Almost everything seems to work fine and it looks really close to the design.

There is a small issue tho which you might not know about if you don't use Firefox.

I will always get the same advice because of the caching system of the Firefox.

To fix this behavior you should have an additional option to your fetch call to prevent the caching of the response.

I see that you use ajax which i am not familiar with but it should be something like this:

$.ajax({url: "myurl", success: myCallback, cache: false});

Anyway. Good job again and happy coding 😀 Peace.

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