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.
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
Page view and pricing totals Here are the different page view ranges and the corresponding monthly price totals:
- 10K pageviews / $8 per month
- 50K pageviews / $12 per month
- 100K pageviews / $16 per month
- 500k pageviews / $24 per month
- 1M pageviews / $36 per month
If the visitor switches the toggle to yearly billing, a 25% discount should be applied to all prices.
- Solution URL: See my code
- Live Site URL: Check it out here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- SASS
- Media Query
- JavaScript
In this project I had a chance to test my knowledge about SASS. Also, for the first time I was using toggle switch and input range and it was quite challenging for me.
- Github - kdebala
- LinkedIn - @Katarzyna Dębała