An open API service indexing awesome lists of open source software.

https://github.com/alessioscarfone/expenses-char-component

Frontend Mentor Challenge - Expenses chart component
https://github.com/alessioscarfone/expenses-char-component

css css-module frontend frontend-mentor frontend-mentor-challenge react scss

Last synced: about 2 months ago
JSON representation

Frontend Mentor Challenge - Expenses chart component

Awesome Lists containing this project

README

          

# Frontend Mentor Challenge - Expenses chart component

![Design preview for the Expenses chart component coding challenge](./design/desktop-preview.jpg)

## Welcome! 👋

Thanks for checking out this front-end coding challenge.

[Frontend Mentor](https://www.frontendmentor.io) challenges help you improve your coding skills by building realistic projects.

## The challenge

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

You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

We provide the data for the chart in a local `data.json` file. So you can use that to dynamically add the bars if you choose.

Your 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**: See dynamically generated bars based on the data provided in the local JSON file

## Built with

- React
- SCSS Module

## Building your project

Feel free to use any workflow that you feel comfortable with. Below is a suggested process, but do not feel like you need to follow these steps:

## Available Script

### `npm start`
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.