Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

responsive time tracking dashboard

Rabel 190

@Rabelahmed

Desktop design screenshot for the Time tracking dashboard coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

P
Christina 190

@codercreative

Posted

Hi Rabel,

I love your solution! 💫

Perhaps consider...

-- using switch statements to replace your if statements for better clarity and efficiency.

-- using template literals to conditionally add an "s" to hrs when the value is not equal to 1.

-- adding comments in your code and ensuring consistent indentation and formatting for better readability.

Happy Coding! 🥳

Marked as helpful

0

Rabel 190

@Rabelahmed

Posted

@codercreative thank you for the tips

0

Please log in to post a comment

Log in with GitHub
Discord logo

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