Submitted over 1 year agoA solution to the Time tracking dashboard challenge
time tracking dashboard whit Taiwind and js vanilla
accessibility, tailwind-css
P
@Smailen5

Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm happy I managed to align the grid as I wanted, maybe I wrote too much code, but after several attempts, it's the only way I found.
Work
What challenges did you encounter, and how did you overcome them?
I still can't understand why, even though the utility class is correct, it doesn't change the fill color of the SVGs.
### What specific areas of your project would you like help with?
To write inside the HTML, I used this solution that I really don't like. I would like to simplify this part in the future.
```
function daily(data) {
workHours.innerText = data[0].timeframes.daily.current + "hrs";
workPrevious.innerText = `Previous - ${data[0].timeframes.daily.previous}hrs`;
playHours.innerText = data[1].timeframes.daily.current + "hrs";
playPrevious.innerText = `Previous - ${data[1].timeframes.daily.previous}hrs`;
```
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Smaylen5's solution.
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