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: https://github.com/allyson-s-code/expense-chart-component
- Live Site URL: https://allyson-s-code.github.io/expense-chart-component/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Chart.js
This was my first time using chart.js and it was a lot of fun. Chart.js has lots of documentation and videos and I found the videos very helpful.
I will continue working with data dynamically and my JavaScript skills.
- Chart.js - So so helpful. Lots of documentation.
- How to make font sizes responsive Chart.js YouTube
- Website - Allyson Smith
- Frontend Mentor - @allyson-s-code