Time Tracking Dashboard (HTML, CSS, JS)

Solution retrospective
Not perfect but constructive feedback will be appreciated
Please log in to post a comment
Log in with GitHubCommunity feedback
- @pikapikamart
Hey, great work on this one. Layout looks really good and it responds well, the mobile layout is great as well.
Some suggestions would be:
- The
img
for the person should have used their name as the value likealt="Jeremy Robson"
, always make thealt
meaningful if the image adds content. - On this one, I wouldn't really use the
h1
for the name of the person, I would make theh1
a screen-reader only text to give overview of the whole webpage. - Also, why place:
<h1> Jeremy Robson</h1> <p>Report for </p>
This makes the html in wrong order, it should be swapped, then just use `flex-direction: column-reverse" on the flex parent.
- Those numbers like
5hrs
1hrs
they shouldn't have been the heading, since they don't really give any extra information, thework
play
those are the ones that should be the heading, because if a user navigated on them, they would know that this section tells them about the work, tells them about the play. - The
alt
for the elipsis images should have been left empty likealt=""
, since those are just decorations. - Those
button
should not haverole="button"
since those are alreadybutton
. Also an addition, since that part is a selection, usinginput type="radio"
on those would be great, since you can only choose 1, and radio buttons are intended for those, using it would add extra accessibility on your website because unlikebutton
there is no extra information if a user toggles it, unless you use other aria's or alert. - Those selections as well should have visual indicator, if you remove the
outline
make sure to add something to the:focus-visible
state of the selector.
Aside from those, great work.
Marked as helpful - The
- P@karthik2265
Looks nice There are 2 issues I found
- looks like there is border at the bottom of cards to handle this try putting margin to 0
- in javascript you forget to update text along with number of hours i.e for daily it should be yesterday and for monthly it should be last month
Marked as helpful
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