Design comparison
Solution retrospective
I loved this project, it was great to dive into fetch API. My difficult task was that at first my fetch data kept coming out with the same response (quote) no matter if I clicked the button or refreshed the page. So doing some research I find out I had to clear the cache when making another request, hence why it wasn't updating. It helped a lot for understanding better fetch API and how to handle JSON objects.
Community feedback
- @Aliko2020Posted 11 months ago
great work, your code looks well-structured and clean, consider using const or let consistently when declaring variables. For example, you can use const for url since it doesn't chang
0@justbycrisPosted 11 months agoOooh got it. Good point! I'll make sure to do that in the future. Thanks! (: @Aliko2020
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