{"id":18605459,"url":"https://github.com/haquanq/fm-pricing-component-with-toggle","last_synced_at":"2025-05-17T09:42:05.554Z","repository":{"id":242858811,"uuid":"810765846","full_name":"haquanq/fm-pricing-component-with-toggle","owner":"haquanq","description":"Solution for frontendmentor.io challenge: pricing-component-with-toggle","archived":false,"fork":false,"pushed_at":"2025-05-12T05:38:35.000Z","size":324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T06:34:32.367Z","etag":null,"topics":["css","frontendmentor","frontendmentor-challenge","frontendmentor-solution","html","javascript","js"],"latest_commit_sha":null,"homepage":"https://haquanq.github.io/fm-pricing-component-with-toggle/","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.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-06-05T10:10:56.000Z","updated_at":"2025-05-12T05:38:38.000Z","dependencies_parsed_at":"2024-07-12T12:03:54.051Z","dependency_job_id":"a2356ec2-c146-487f-8d69-f33f68759def","html_url":"https://github.com/haquanq/fm-pricing-component-with-toggle","commit_stats":null,"previous_names":["haquanq/fm-pricing-component-with-toggle"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq%2Ffm-pricing-component-with-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq%2Ffm-pricing-component-with-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq%2Ffm-pricing-component-with-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haquanq%2Ffm-pricing-component-with-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haquanq","download_url":"https://codeload.github.com/haquanq/fm-pricing-component-with-toggle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254595221,"owners_count":22097506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["css","frontendmentor","frontendmentor-challenge","frontendmentor-solution","html","javascript","js"],"created_at":"2024-11-07T02:21:32.524Z","updated_at":"2025-05-17T09:42:05.538Z","avatar_url":"https://github.com/haquanq.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Pricing component with toggle solution\n\nThis is a solution to the [Pricing component with toggle challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/pricing-component-with-toggle-8vPwRMIC). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n## Table of contents\n\n- [Project overview](#rocket-project-overview)\n- [My workflow](#boat-my-workflow)\n- [How to work in this repository](#astronaut-how-to-work-in-this-repository)\n- [License](#page_with_curl-license)\n\n## :rocket: Project overview\n\n### Challenge requirements\n\nUsers should be able to:\n\n- View the optimal layout for the component depending on their device's screen size\n- Control the toggle with both their mouse/trackpad and their keyboard\n- **Bonus**: Complete the challenge with just HTML and CSS\n\n### Implemented features\n\nCore features:\n\n| Feature                              | Progress               |\n| ------------------------------------ | ---------------------- |\n| Toggle between annually/monthly plan | [ :white_check_mark: ] |\n\nAccessibility features:\n\n| Feature                                                | Progress               |\n| ------------------------------------------------------ | ---------------------- |\n| Reponse optimally across different screen size         | [ :white_check_mark: ] |\n| Highlight interactive elements when hover/focus/active | [ :white_check_mark: ] |\n\n### Screenshots\n\n![](./.docs/design/desktop-design-monthly.jpg)\n\n## :boat: My workflow\n\n### Approach\n\nDeveloped with mobile-first workflow.\n\n### Built with\n\n| Tool         | Note                     |\n| ------------ | ------------------------ |\n| `JavaScript` | Programming language     |\n| `HTML`       | Standard markup language |\n| `CSS`        | Style sheet language     |\n\n## :astronaut: Working in `fm-pricing-component-with-toggle` repository\n\n### Presequisites\n\nHaving these tools installed:\n\n- Git (prefer lastest LTS version)\n- NodeJS (prefer latest LTS version)\n\n### Clone this project to your machine\n\nOpen new terminal, run the following command:\n\n```\ngit clone https://github.com/haquanq/fm-pricing-component-with-toggle.git\n```\n\nThen, run `npm install` to install all dependencies.\n\n```\nnpm install\n```\n\n### Development workflow\n\nIn terminal, run `npm run dev` to start development server:\n\n```\nnpm run dev\n```\n\n## :page_with_curl: License\n\nThis project follows [MIT License](./LICENSE). **DO NOT** use this project as your solution on [Frontend mentor](https://www.frontendmentor.io/solutions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq%2Ffm-pricing-component-with-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaquanq%2Ffm-pricing-component-with-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaquanq%2Ffm-pricing-component-with-toggle/lists"}