elidrissidev / interactive-pricing-component

This is a solution to the Interactive pricing component challenge on Frontend Mentor.

Home Page:https://interactive-pricing-component-elidrissidev.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Interactive pricing component solution

This is a solution to the Interactive pricing component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Use the slider and toggle to see prices for different page view numbers

How to build

This project uses Parcel bundler, so building only takes a few steps!

Clone the repository:

$ git clone https://github.com/elidrissidev/interactive-pricing-component.git

Install the dependencies with Yarn (npm i -g yarn to install yarn):

$ yarn install

Start the development server:

$ yarn start

Or, build the website for production:

$ yarn build

Screenshot

Mobile (375px) Desktop (1440px)
Mobile Desktop

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • Parcel

What I learned

This 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!

Useful resources

Author

License

This project is licensed under the MIT License.

About

This is a solution to the Interactive pricing component challenge on Frontend Mentor.

https://interactive-pricing-component-elidrissidev.vercel.app

License:MIT License


Languages

Language:CSS 75.8%Language:HTML 16.8%Language:JavaScript 7.4%