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

Responsive Card using Advice API

Rimka 600

@karimfilali

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


Hello World ! :)

Community feedback

jimavictor 375

@jimavictor

Posted

Hello there! Awesome work with this project. Looking at your solution, I would like to suggest that you add the second parameter to the fetch method in your script.js file to enable it fetch new advice every time a user clicks the dice button. You could add something like this.. fetch("https://api.adviceslip.com/advice", { cache: "no-cache", }); Hope this was helpful..

Marked as helpful

0

Rimka 600

@karimfilali

Posted

Hello Victor ! Thank you for your suggestion, I was wondering how to shorten the delay between two advices. It's very helpful. Have a great day !

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