{"id":15726977,"url":"https://github.com/elidrissidev/interactive-pricing-component","last_synced_at":"2026-05-18T15:06:57.153Z","repository":{"id":133023172,"uuid":"432802947","full_name":"elidrissidev/interactive-pricing-component","owner":"elidrissidev","description":"This is a solution to the Interactive pricing component challenge on Frontend Mentor.","archived":false,"fork":false,"pushed_at":"2021-11-28T19:48:45.000Z","size":545,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T03:13:28.037Z","etag":null,"topics":["css","frontendmentor","html","javascript","parcel"],"latest_commit_sha":null,"homepage":"https://interactive-pricing-component-elidrissidev.vercel.app","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/elidrissidev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2021-11-28T19:16:58.000Z","updated_at":"2021-11-28T19:48:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1ecd12e-1bb9-440c-9358-5cf68502fc23","html_url":"https://github.com/elidrissidev/interactive-pricing-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elidrissidev/interactive-pricing-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Finteractive-pricing-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Finteractive-pricing-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Finteractive-pricing-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Finteractive-pricing-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elidrissidev","download_url":"https://codeload.github.com/elidrissidev/interactive-pricing-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elidrissidev%2Finteractive-pricing-component/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262689758,"owners_count":23349136,"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","html","javascript","parcel"],"created_at":"2024-10-03T23:00:19.989Z","updated_at":"2026-05-18T15:06:52.105Z","avatar_url":"https://github.com/elidrissidev.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"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## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n- [License](#license)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\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### How to build\n\nThis project uses Parcel bundler, so building only takes a few steps!\n\nClone the repository:\n```sh\n$ git clone https://github.com/elidrissidev/interactive-pricing-component.git\n```\n\nInstall the dependencies with Yarn (`npm i -g yarn` to install yarn):\n\n```sh\n$ yarn install\n```\n\nStart the development server:\n```sh\n$ yarn start\n```\n\nOr, build the website for production:\n```sh\n$ yarn build\n```\n\n### Screenshot\n\n| Mobile (375px) | Desktop (1440px) |\n| --- | --- |\n| ![Mobile](./screenshot-mobile.png) | ![Desktop](./screenshot-desktop.png) |\n\n### Links\n\n- [Solution URL](https://www.frontendmentor.io/solutions/interactive-pricing-component-kFKG_ss6-)\n- [Live Site URL](https://interactive-pricing-component-elidrissidev.vercel.app/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Mobile-first workflow\n- [Parcel](https://parceljs.org/)\n\n### What I learned\n\nThis was my first time styling a native `input[type=\"range\"]`, and it was not straightforward because of the different prefixes required for all browsers. This is also the first challenge I do with a PRO subscription, so I tried to make the implementation look as close as possible and I'm happy about the result!\n\n### Useful resources\n\n- [Building Inclusive Toggle Buttons](https://www.smashingmagazine.com/2017/09/building-inclusive-toggle-buttons/) - This helped me understand how to build accessible toggle buttons using only the native `button` element!.\n- [A Sliding Nightmare: Understanding the Range Input](https://css-tricks.com/sliding-nightmare-understanding-range-input/) - This great article from CSS Tricks goes deep into the range input and how to customize it in all the major browsers.\n\n## Author\n\n- Website - [Mohamed ELIDRISSI](https://www.elidrissi.dev)\n- Frontend Mentor - [@elidrissidev](https://www.frontendmentor.io/profile/elidrissidev)\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felidrissidev%2Finteractive-pricing-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felidrissidev%2Finteractive-pricing-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felidrissidev%2Finteractive-pricing-component/lists"}