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 (Next.js + TypeScript + Tailwind CSS + ESLint)

#accessibility#next#tailwind-css#typescript#pwa
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


Hi there šŸ‘‹, Iā€™m Melvin, and this is my solution for this challenge. šŸš€

šŸŽ Features:

  • Tabbed interfaces. šŸ“‘
  • Controllable using arrow keys and Tab. āŒØļø
  • Tooltip that allows copying statistics. šŸ“Š
  • Resemblance with the original design. šŸŽØ
  • Progressive Web App (PWA) support. šŸ“±šŸŒ
  • Small animations with Framer motion. šŸŽ¬
  • No errors or warnings using ESLint (Airbnb style guide). āœ”ļø
  • Client-side fetching with SWR to simulate an API. šŸŒ
  • Custom hooks. šŸŽ£
  • Tested with the TalkBack screen reader on mobile. šŸ“±

šŸ› ļø Built With:

  • Nextjs 13.5.4. āš›ļø
  • TypeScript. šŸ“
  • TailwindCSS. šŸŽØ
  • Framer-motion. šŸŽ¬
  • ESLint (Airbnb style guide). šŸ“¦

ā“ Question:

Not very proud of the prop drilling in the solution. Any recommendations to avoid it? I've tried using the Context API to reduce it, but I don't see much difference.

Any suggestions on how I can improve and reduce unnecessary code are welcome!

Thank you. šŸ˜ŠāœŒļø

Community feedback

Mohammed Fakihā€¢ 1,590

@javascriptor1

Posted

Hi MELVIN ,

Excellent solution. Really impressive šŸ‘šŸ‘.

The only issue I noticed is the background color for the 6 main cards is visible on the bottom corners (right & left).

Take for example the work card. If you notice the bottom corners from right and left, you will see orange colors from the background. It's very slight though, merely noticed by eyes.

Your solution is perfect indeed. I hope if you have free time to share with us in a writeup how you can produce an exact pixel-perfect solution in such a remarkable way.

Thank you so much.

2

@MelvinAguilar

Posted

Hello! @javascriptor1

Thank you for your keen observation and feedback. Indeed, during the development process, I observed that slight background color discrepancy on the work card's bottom corners. It was subtle enough that I overlooked rectifying it. I'll ensure this is addressed promptly.

Regarding my workflow, I begin by crafting the HTML structure and prioritize addressing accessibility concerns. Once the structure is robust, I focus on the styling. I generally start by aligning elements and styling them by eye to closely match the design. For precision, I employ an extension named PerfectPixel. This tool overlays the design image onto the developed site, enabling a side-by-side comparison. This greatly aids in ensuring the design implementation aligns almost pixel-perfectly with the original design.

Screenshot.

Thank you again for your feedback!

4
Mohammed Fakihā€¢ 1,590

@javascriptor1

Posted

Great - Thanks for your feedback @MelvinAguilar

1
Mohammed Fakihā€¢ 1,590

@javascriptor1

Posted

Hi @MelvinAguilar ,

Just a question if you please regarding extension PerfectPixel. As you know, all designs on FEM are made for Desktop: 1440px.

What if I don't have a screen size of 1440px? would I still be able to utilize this extension? My screen size is 1366px.

Thanks, MKF

1
Mohammed Fakihā€¢ 1,590

@javascriptor1

Posted

Update : Hi @MelvinAguilar ,

Thanks to your screenshot for the tool, I just noticed that I can use dev tools to set screen width which would mimic a screen of required width. I will give it a try tonight.

Thanks once again. MKF

1
saidi aliā€¢ 270

@alihydro

Posted

Excellent solution. Really impressive šŸ‘šŸ‘.

1

Yousefā€¢ 50

@ousey-ousey

Posted

THAT'S GOOD i noticed that the bottom of number appear last-week and result bur while i use daily or monthly still the word "last week "

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