Design comparison
Community feedback
- @elaineleungPosted over 2 years ago
Hi Chubbi-Stephen, it looks like the link you uploaded isn't working, but thankfully I found the actual one: https://advice-api-app.netlify.app/advice-generator-app-main/. What happened is that your project folder is in the parent directory of your repo, and all the contents you need are within that folder. You just need to make sure that when you push your repo to GitHub, all the contents that are in the folder are in the repo's parent directory instead.
Anyway, good job putting this together! I would suggest to use an actual piece of advice instead of lorem ipsum. Also, I see that your app has an issue that I've been seeing on almost all these solutions: on Firefox, and the advice doesn't load again after the first one is loaded, and this is most likely due to caching. Do try loading your site on Firefox if you have it. To fix it, try adding a header object in fetch:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
0
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