
Submitted about 2 months ago
time-tracking-dashboard with pure html, css and js
@opeoluwa7
Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I got lost during the js, in all honesty, I couldn't have gotten this done without chatgpt, it works though...
Community feedback
- @khatri2002Posted about 2 months ago
Hi @opeoluwa7!
The developed solution looks great! The responsiveness is well-handled! Great job on that.
Here are a few suggestions for improvement:
- You've used an
li
element to render the text "Daily," "Weekly," and "Monthly" and directly attached theonClick
event to it. While this works functionally, abutton
element would be more appropriate since it is interactive and triggers an action. Using abutton
improves accessibility, allows for better keyboard navigation, and provides built-in browser behavior such as focus states.
- The hover effects seem to be missing for buttons and cards. Consider adding them as per the design reference, as hover effects enhance user experience by providing visual feedback and making interactions feel more intuitive.
- You've set
cursor: grab;
for both cards and buttons. While this is useful for draggable elements, apointer
cursor would be more appropriate for buttons and clickable cards.cursor: grab;
is typically used when an element can be dragged, indicating that the user can move it. On the other hand,cursor: pointer;
is best suited for interactive elements like buttons and links, where clicking triggers an action.
The rest of the solution looks great! Keep up the excellent work! 🚀
Marked as helpful0 - You've used an
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