Frontend Mentor - Time tracking dashboard

Solution retrospective
- I use the Tailwind CSS, and it's made it more challenging.
- I used the fetch API and the
.then
approach.
I was stuck with the javascript at the beginning, then I created another subgrid
div, which I appended the dynamically generated content, then the problem was solved, but for an unknown reason my Event Listeners
were not working properly.
I need more guidance and reference in terms of Javascript, so I will go for the OOP approach later on.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@robcrock
You did an amazing job matching the design. I finished this challenge as well, but I didn't work nearly as hard thanks to levering React. You probably learned more taking the raw Vanilla JS route, but I would encourage you to try again in the future with something like React or Svelte. You're very talented to complete this task the way you did.
I also wanted to say that I took the subgrid approach too, but then I figured out that I could simplify things by creating a grid with 4 columns and letting the profile card span 2 rows on desktop. The dynamic row span approach allowed me to completely remove the subgrid concept and greatly simplify my code.
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