Time tracking dashboard using SCSS and vanilla JS
Design comparison
Solution retrospective
Hi, Frontendmentor community
i just finished this challenge and here is my solution . You're always welcome to post your feedback or any suggestions ... Ty
Community feedback
- @elaineleungPosted over 2 years ago
Hi Vijay, this looks great, well done! I think you just need a bit more padding inside the cards and also to make the border-radius a bit rounder, then your solution could be looking closer to the original.
For the JS, things also look fairly alright to me; one recommendation I have is to use either
textContent
orinnerText
for changing the text content instead ofinnerHTML
because you don't actually have HTML to parse, and it's also generally considered good practice to use those first in this situation where you only have plain text. As a "level-up" challenge, see whether you can add some error handling for your async/await function!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