Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 5 months ago

Expenses Chart Component - Vite + React

react, vite, chart-js
Keith•190
@KeithEsc
A solution to the Expenses chart component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Worked directly with React for the first time and used Main.tsx and App.tsx files to create my page. This was overkill for this solution but I wanted to get my eyes on a React project layout.

What challenges did you encounter, and how did you overcome them?

Ran into an issue with how my chart (made with Chart.js) was being styled within the bottom flexbox of the component. Ended up having the mess with some margins and sizes that I would have rather not needed to change to get desired solution look.

What specific areas of your project would you like help with?

I am aware the font sizes, margins, and paddings are not exact and am ok with that. Feel free to give me some input on any errors you notice or changes that you would make to improve the code.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Keith's solution.

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License