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 using flexbox and vanilla js

Mohammad Ebrahimiโ€ข 250

@moheb2000

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


Hey! I really liked this challenge. I don't use check for fetch items in js and I don't know the best way to do that.

Community feedback

Ciceronโ€ข 940

@MarcusTuliusCiceron

Posted

Hello Mohammad,

to make your button work I think what you can do is add the following line after your console.log in the fetch function:

cache: 'no-cache'

this will empty cash of the browser and allow script to fetch new comment again.

If it is still not working feel free to drop an eye on my profile, I have completed this challenge few days ago and managed to make it work.

Happy coding :)

Marked as helpful

1

Mohammad Ebrahimiโ€ข 250

@moheb2000

Posted

@MarcusTuliusCiceron Awesomeeee ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ I fixed that. Thanks a lot. It help me a lot

0
Shashree Samuelโ€ข 9,260

@shashreesamuel

Posted

Hey good job completing this challenge

Keep up the good work

Your solution looks great however I think your divider line needs some margin on the top.

I hope this helps

Cheers Happy coding ๐Ÿ‘

1

Mohammad Ebrahimiโ€ข 250

@moheb2000

Posted

@TheCoderGuru Really thanks๐ŸŒธ๐ŸŒธ๐ŸŒธ

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