time-tracking-dashboard using react and tailwindcss

Please log in to post a comment
Log in with GitHubCommunity feedback
- @amikoelvis
The Profile React component for the time tracking dashboard is a clean, responsive module with Tailwind CSS styling, but it needs tweaks to fully meet requirements. To align button text left, add text-left w-full to buttons; ensure Monthly initial view by setting active='monthly' in the parent’s useState; and improve accessibility with aria-pressed and onKeyDown for keyboard support. Mapping buttons over a timeframes array reduces repetition, and updating the image’s alt to “Jeremy Robson profile picture” boosts accessibility. These changes enhance UX, maintainability, and alignment with the HTML solution’s goals, testable on a high-res laptop like the MacBook Air M4.
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