Advice generator app using flexbox and vanilla js

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.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MarcusTuliusCiceron
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 - @shashreesamuel
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 👍
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