This is a solution to the Expenses chart component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the bar chart and hover over the individual bars to see the correct amounts for each day
- See the current day’s bar highlighted in a different colour to the other bars
- View the optimal layout for the content depending on their device’s screen size
- See hover states for all interactive elements on the page
- Bonus: Use the JSON data file provided to dynamically size the bars on the chart
- Solution URL: Add solution URL here
- I started with simple steps doing the HTML, while using Emmet.Then the css, letting the chart for last, because i knew i would have to use an framework, after testing some charts, most of them took me some time and it was impossible to translate the design, after a time i have decided to use Apexcharts, i have tried to use Styled-Components, but in the end most of styles were done configurating the Apexcharts in Js
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Vite
- ApexCharts - JS library
- I learned how to configure better my project, i've started with simple html and css, after that i tried to create an an component react for the chart, after some testing i realized vanilla would be simplier, both for react and vanilla i used npm Vite.
In the future, i wolud like to connect this to another services, and improve the project
- Github - devdartagnan
- Frontend Mentor - @leozinsk