Responsive Time Tracking dashboard with CSS Grid and flexbox

Solution retrospective
Is there a way I can change the only content of the time tracking grids instead of completely refreshing the page with vanilla javascript?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Enmanuel-Otero-Montano
Hello @Mutohi-R!
Congratulations on completing the challenge! Yes, instead of creating <a> tags, you can create <button> and have an addEventListener created for each of them and do the fetch operation when one of them is clicked, taking the corresponding data. I leave you the link to my solution so you understand better.
Check the code of my solution.
Greetings, I hope I have helped you.
Marked as helpful
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