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

ReactJS, Next.js, SASS Advice Generator

#next#react#sass/scss
Alejandro Mena• 20

@cxalem

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 my challenge, if you have any feedback would be amazing!

Community feedback

Karol Binkowski• 1,640

@GrzywN

Posted

Great job on the challenge I noticed the issue with the API call response in Firefox (I experienced this myself while I was doing this challenge). After first call you always get the cached response and result doesn't change. To solve it you can add to your fetch option fetch(apiUrl, {cache: "no-cache"}). For more information.

Hope this helps! Have a nice day and happy coding!

Marked as helpful

1

Van Ribeiro• 225

@vanribeiro

Posted

@GrzywN nice hint! I was having a similar problem it. I used another solution for the challenge, but it's really nice and helpful to know about it! =) Thanks for share it! <3

0
Alejandro Mena• 20

@cxalem

Posted

@GrzywN thank youuu! I didn't notice that issue on Firefox!!

0
Van Ribeiro• 225

@vanribeiro

Posted

@cxalem, my hint is about images. HTML5 has a nice container called <picture>. There you can add the images you want and set the breakpoint you wanna render it, without use a if/else with JS or using other alternatives with CSS.

<picture>
     <source srcset="mdn-logo-wide.png" media="(min-width: 600px)">
     <img src="mdn-logo-narrow.png" alt="MDN">
</picture>

More Information

Marked as helpful

0

Alejandro Mena• 20

@cxalem

Posted

@vanribeiro thank yoouu, Van!! That's an amazing hint!!!

1

@TripleT511

Posted

Congratulations on completing this challenge

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