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

Expense chart component react and tailwind css solution

@bilguun1130

Desktop design screenshot for the Expenses chart component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


This solution shows how you can use group in tailwind to add hover effect. Also, you can see how you can give components variables so each components have different values.

Community feedback

Bruce B 505

@bbsmoothdev

Posted

Question for you. How are people who can only use a keyboard going to be able to see the dollar amount for each day? I'm not expecting you to solve this issue. I'd say it's a flaw in the design. But I just wanted to make you aware that things like this need to be accessible to people who can only use keyboards to navigate your page. So using just mouse hover to show the dollar amounts won't work.

There are a number of ways to solve this. Personally, I would probably include a table of the data. You can hide it in a disclosure below the chart so that it can be displayed on demand when needed. But this would deviate from the design, which is why I suggested that this is a design issue.

1

@bilguun1130

Posted

@bbsmoothdev That makes sense. Thank your for offering different perspective

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