{"id":32358710,"url":"https://github.com/haquanq-frontendmentor/calculator-app","last_synced_at":"2026-05-05T19:34:05.470Z","repository":{"id":318998512,"uuid":"1074784556","full_name":"haquanq-frontendmentor/calculator-app","owner":"haquanq-frontendmentor","description":"Solution for frontendmentor.io challenge: calculator-app","archived":false,"fork":false,"pushed_at":"2025-11-02T15:46:11.000Z","size":2860,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-02T17:30:08.538Z","etag":null,"topics":["frontendmentor","frontendmentor-intermediate","tailwindcss","vue"],"latest_commit_sha":null,"homepage":"https://haquanq-frontendmentor.github.io/calculator-app/","language":"Vue","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":"2025-10-12T13:28:42.000Z","updated_at":"2025-11-02T15:46:15.000Z","dependencies_parsed_at":"2025-10-17T17:13:37.443Z","dependency_job_id":"12b04b80-b737-4d8d-8762-a9fa536b4a79","html_url":"https://github.com/haquanq-frontendmentor/calculator-app","commit_stats":null,"previous_names":["haquanq-frontendmentor/calculator-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haquanq-frontendmentor/calculator-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fcalculator-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fcalculator-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fcalculator-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fcalculator-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haquanq-frontendmentor","download_url":"https://codeload.github.com/haquanq-frontendmentor/calculator-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Fcalculator-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32665101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","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":["frontendmentor","frontendmentor-intermediate","tailwindcss","vue"],"created_at":"2025-10-24T13:29:57.424Z","updated_at":"2026-05-05T19:34:05.465Z","avatar_url":"https://github.com/haquanq-frontendmentor.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Frontend Mentor - Calculator App Solution\n\nThis is a solution to the [Calculator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/calculator-app-9lteq5N29). 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/interactive-calculator-with-keyboard-navigation-3-themes-t3XCAeHlEY\"\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/calculator-app/\"\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- See the size of the elements adjust based on their device's screen size\n- Perform mathmatical operations like addition, subtraction, multiplication, and division\n- Adjust the color theme based on their preference\n- **Bonus**: Have their initial theme preference checked using `prefers-color-scheme` and have any additional changes saved in the browser\n\n### Status\n\nFeatures\n\n- [x] Toggle between 3 themes (dark, light, purple)\n- [x] Calculator with keyboard accessible\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- **Vue** – Fine-grained reactivity state management\n- **TailwindCSS** – Utility-first CSS for fast development\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/calculator-app.git\ncd calculator-app\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 Actions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Fcalculator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaquanq-frontendmentor%2Fcalculator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Fcalculator-app/lists"}