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.
Create a clean layout based on provided designs, with mobile layouts. Create graph with hoverable elements that change opacity and show div with statistics showing for each bar in the graph.
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
Created mobile/desktop layouts based on provided design patterns. Set up script to add on hover to bars in graph to show elements/update elements.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Website - Chris Base
- Frontend Mentor - @chris-base
