comendrun / Expenses-Chart-Component

Frontend Mentor Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Expenses chart component solution

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

Overview

The challenge

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

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • Mobile-first workflow
  • JavaScript Charts (ChartJS)

What I learned

in this Challenge i learned about a tool that helps to draw charts using JavaScript called ChartJS. it was a pretty usefull tool and the way that it works is pretty straight forward. its also highly customizable. the documentation is good and also there are lots of other resources an dvideos about it on the internet. one of the videos i first watched for this library was from "Dev Ed" the video, but there are also lots of other videos on youtube. wish you all best of luck, it was fun learning about this new tool.

Continued development

I put so much time on this, but i didnt find out how to change the label and title in tooltip section of the bars, so thats definetly something i would like to learn more about.

Useful resources

Author

Acknowledgments

About

Frontend Mentor Challenge


Languages

Language:CSS 39.0%Language:HTML 31.8%Language:JavaScript 29.2%