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

Responsive graphical component created dynamically

#bem#vanilla-extract

@LuisJimenez19

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


the bars are generated dynamically, use a rule of 3 to be able to give a relative size to all of them and a unique style to the largest one, I had an inconvenience when showing the label on the hover of each bar, I don't know if it is the best way to do, in this case I did it with JS but I think it could be done better with CSS

Community feedback

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