Advice generator app using flexbox and vanilla js
Design comparison
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
- @MarcusTuliusCiceronPosted over 2 years ago
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 helpful1@moheb2000Posted over 2 years ago@MarcusTuliusCiceron Awesomeeee ๐ฑ๐ฑ๐ฑ I fixed that. Thanks a lot. It help me a lot
0 - @shashreesamuelPosted over 2 years ago
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
Please log in to post a comment
Log in with GitHubJoin 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