{"id":31819076,"url":"https://github.com/haquanq-frontendmentor/expenses-chart-component","last_synced_at":"2026-04-08T21:31:49.485Z","repository":{"id":315837974,"uuid":"830861327","full_name":"haquanq-frontendmentor/expenses-chart-component","owner":"haquanq-frontendmentor","description":"Solution for frontendmentor.io challenge: expense-chart-component","archived":false,"fork":false,"pushed_at":"2025-11-02T10:58:28.000Z","size":262,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-02T12:13:30.400Z","etag":null,"topics":["accessibility","bem-css","frontendmentor","frontendmentor-junior","html","postcss"],"latest_commit_sha":null,"homepage":"https://haquanq-frontendmentor.github.io/expenses-chart-component/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haquanq-frontendmentor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-19T06:43:06.000Z","updated_at":"2025-11-02T10:58:32.000Z","dependencies_parsed_at":"2025-09-21T04:25:23.822Z","dependency_job_id":"4bfe582c-d220-421f-8371-c44c73887d42","html_url":"https://github.com/haquanq-frontendmentor/expenses-chart-component","commit_stats":null,"previous_names":["haquanq-frontendmentor/expenses-chart-component"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haquanq-frontendmentor/expenses-chart-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fexpenses-chart-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fexpenses-chart-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fexpenses-chart-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fexpenses-chart-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haquanq-frontendmentor","download_url":"https://codeload.github.com/haquanq-frontendmentor/expenses-chart-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fexpenses-chart-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accessibility","bem-css","frontendmentor","frontendmentor-junior","html","postcss"],"created_at":"2025-10-11T11:29:22.581Z","updated_at":"2026-04-08T21:31:49.481Z","avatar_url":"https://github.com/haquanq-frontendmentor.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Frontend Mentor - Expenses Chart Component Solution\n\nThis is a solution to the [Expenses chart component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/expenses-chart-component-e7yJBUdjwt). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n\u003cp\u003e\n  \u003ca href=\"https://www.frontendmentor.io/solutions/accessible-bar-chart-mobile-first-pixel-perfect-w-html-and-css-and-js-WRp-nMHbEe\"\u003e\n    \u003cimg\n      alt=\"Solution post\"\n      src=\"https://img.shields.io/badge/Frontendmentor-blue?label=Solution%20on\"\n    /\u003e\u003c/a\u003e\n  \u003ca href=\"https://haquanq-frontendmentor.github.io/expenses-chart-component/\"\u003e\n    \u003cimg\n      alt=\"Live demo\"\n      src=\"https://img.shields.io/badge/Demo-teal?label=Live\"\n    /\u003e\u003c/a\u003e\n  \u003ca href=\"./LICENSE\"\n    \u003e\u003cimg\n      allt=\"MIT License\"\n      src=\"https://img.shields.io/badge/MIT-blue?label=license\"\n  /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![](./docs/preview.jpg)\n\n## Table of Contents\n\n- [Project Overview](#sunrise-project-overview)\n- [Tech Stack and Approach](#stars-tech-stack-and-approach)\n- [Local Development](#leaves-local-development)\n- [Deployment](#maple_leaf-deployment)\n\n## :sunrise: Project Overview\n\n### Challenge Requirements\n\n- View the bar chart and hover over the individual bars to see the correct amounts for each day\n- See the current day’s bar highlighted in a different colour to the other bars\n- View the optimal layout for the content depending on their device’s screen size\n- See hover states for all interactive elements on the page\n- **Bonus**: Use the JSON data file provided to dynamically size the bars on the chart\n\n### Status\n\nFeatures\n\n- [x] Accessible bar charts with keyboard navigation\n\nAccessibility\n\n- [x] Responsive accross different screen sizes\n- [x] Interactive elements have clear focus indicator\n\n## :stars: Tech Stack and Approach\n\n### Built With\n\n- **HTML5** – Semantic structure\n- **CSS Grid \u0026 Flexbox** – Layout\n- **PostCSS** – Nested rules, custom media queries, future CSS features, minification\n- **Stylelint** – CSS linting, code style consistency\n- **TypeScript** - Interactivity and application logic\n- **Vite** - Fast development server, production build and easy configuration\n\n### Approach\n\n- Mobile-first workflow for better performance on smaller devices\n- Accessibility guided by [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/)\n\n## :leaves: Local Development\n\n### Prerequisites\n\nInstall the following:\n\n- Git (latest version)\n- Node.js (latest LTS recommended)\n- pnpm (latest version)\n\n### Setup\n\n```\ngit clone https://github.com/haquanq-frontendmentor/expenses-chart-component.git\ncd expenses-chart-component\npnpm install\n```\n\n### Start Development Server\n\n```\npnpm dev\n```\n\n## :maple_leaf: Deployment\n\nDeployed to Github Pages via Github Action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Fexpenses-chart-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaquanq-frontendmentor%2Fexpenses-chart-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Fexpenses-chart-component/lists"}