Responsive Time Tracking dashboard with CSS Grid and flexbox
Design comparison
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?
Community feedback
- @Enmanuel-Otero-MontanoPosted 11 months ago
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 helpful0@Mutohi-RPosted 11 months agoHello @Enmanuel-Otero-Montano!
I do appreciate your help and would look into your code and try and modify mine.
Thanks for your feedback.
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