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

Time Tracking Dashboard Using HTML,CSS and Javascript

@AdnaanH

Desktop design screenshot for the Time tracking dashboard coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Any tips on how to make this generally better in terms of responsiveness and even some javascript clean up?

Community feedback

P
Ctrl+FJ 750

@FlorianJourde

Posted

Hey @AdnaanH, good job with this challenge !

My main advice for this work, would be to avoid to use fixed height and width, like that :

.aside {
    width: 13em;
    height: 25em;
}

A better option could be to put your elements inside a components, like with bootstrap's container. I personally designed a small simple .wrapper, which avoid me to use Bootstrap, or whatever. You can try to wrap your .aside & .main-bar is this component :

.wrapper {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: inherit;
    justify-content: inherit;
    align-items: inherit;
    flex-direction: inherit;
    flex-wrap: inherit;
    gap: inherit;
    z-index: inherit;
}

With this solution, your elements will be automatically set to 100% width & height ! I'm using it since more than a year from now, and i never deceived me ! The purpose in to think "flex" !

Second thing : font is not loading on my computer, think about inherit fonts like this : font-family: 'Arial', 'Helvetica', sans-serif, in case fonts can't be covered in the current page for any reason.

Finally, not sure about using section inside a main component, but I may be wrong 🤔

Keep coding, good luck for next challenges !

Marked as helpful

0

@AdnaanH

Posted

@FlorianJourde Thank you I will take into consideration the above adjustments and try working around that in my project. I have been having some bit of difficulty with width and height but I am getting it done as I progress and your feedback has been helpful too.

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