Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive pricing component

Arsh Goyal 940

@arshGoyalDev

Desktop design screenshot for the Interactive pricing component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Any suggestions would be great

Community feedback

@Gauravkumario

Posted

can you tell me how you designed range input ?

Marked as helpful

0

Arsh Goyal 940

@arshGoyalDev

Posted

@Gauravkumario

  1. I have set the appearance to none of the input tag (for chrome) and the background to transparent.
  2. Used the pseudo elements ::-webkit-slider-thumb and ::-moz-range-thumb for chrome and firefox respectively to style the thumb.
  3. Created a div (for complete track) and span (for the slided part ) and styled the track of the input.
  4. And increased the width of the span as the value of input increases with javascript.

If you have more doubts you can check the source code on my github profile. Thanks for your feedback.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord