Skip to content

SouleymaneSy7/expenses-chart-card

Repository files navigation

Frontend Mentor - Expenses chart component

Design preview for the Expenses chart component coding challenge

Welcome! 👋

Thanks for checking out this front-end coding challenge.

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.

Table of contents

The challenge

The challenge is to build out this bar chart component and get it looking as close to the design as possible.

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

Screenshot

This is the Screenshot of my work!

Mobile

Mobile Screenshot

Desktop

Desktop Screenshot

Desktop Active

Desktop Screenshot

My process

Made with HTML, Sass and Javascript.

Built with

  • Semantic HTML5 markup
  • SASS
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • NPM
  • Vite

Links

Author