{"id":31134298,"url":"https://github.com/haquanq-frontendmentor/interactive-pricing-component","last_synced_at":"2026-04-20T09:33:04.897Z","repository":{"id":248971343,"uuid":"830338329","full_name":"haquanq-frontendmentor/interactive-pricing-component","owner":"haquanq-frontendmentor","description":"Solution for frontendmentor.io challenge: interactive-pricing-component","archived":false,"fork":false,"pushed_at":"2025-09-16T15:34:41.000Z","size":253,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T18:01:05.127Z","etag":null,"topics":["bem-css","drag-and-drop","frontendmentor","html","postcss","slider","typescript","vite"],"latest_commit_sha":null,"homepage":"https://haquanq-frontendmentor.github.io/interactive-pricing-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}},"created_at":"2024-07-18T04:56:19.000Z","updated_at":"2025-09-16T15:34:45.000Z","dependencies_parsed_at":"2025-05-16T19:40:26.776Z","dependency_job_id":null,"html_url":"https://github.com/haquanq-frontendmentor/interactive-pricing-component","commit_stats":null,"previous_names":["haquanq/fm-interactive-pricing-component"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haquanq-frontendmentor/interactive-pricing-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Finteractive-pricing-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Finteractive-pricing-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Finteractive-pricing-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Finteractive-pricing-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haquanq-frontendmentor","download_url":"https://codeload.github.com/haquanq-frontendmentor/interactive-pricing-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq-frontendmentor%2Finteractive-pricing-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bem-css","drag-and-drop","frontendmentor","html","postcss","slider","typescript","vite"],"created_at":"2025-09-18T06:51:34.867Z","updated_at":"2026-04-20T09:33:04.866Z","avatar_url":"https://github.com/haquanq-frontendmentor.png","language":"CSS","readme":"## Frontend Mentor - Interactive Pricing Component Solution\n\nThis is a solution to the [Interactive pricing component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/interactive-pricing-component-t0m8PIyY8). 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/custom-range-slider-mobile-first-pixel-perfect-w-html-and-css-and-js--5iksCMzPF\"\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/interactive-pricing-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## 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 optimal layout for the app depending on their device's screen size\n- See hover states for all interactive elements on the page\n- Use the slider and toggle to see prices for different page view numbers\n\n### Status\n\nFeatures\n\n- [x] Snappy range slider with drag and drop (mouse/touch)\n\nAccessibility\n\n- [x] Responsive accross different screen sizes\n- [x] Interactive elements have clear focus indicator\n\n### Preview (Desktop)\n\n![](./docs/design/desktop-design.jpg)\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 LTS recommended)\n- Node.js (latest LTS recommended)\n\n### Setup\n\n```\ngit clone https://github.com/haquanq-frontendmentor/interactive-pricing-component.git\ncd interactive-pricing-component\nnpm install\n```\n\n### Start Development Server\n\n```\nnpm run dev\n```\n\n## :maple_leaf: Deployment\n\nDeployed to Github Pages via Github Actions (manually triggered).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Finteractive-pricing-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaquanq-frontendmentor%2Finteractive-pricing-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq-frontendmentor%2Finteractive-pricing-component/lists"}