79498444

Date: 2025-03-10 15:25:51
Score: 3.5
Natty:
Report link

Found solution add

let sliderMinValue = document.getElementById(“slider-1”).min;

than you can use

percent1 = Math.round( 100 * ( ( sliderOne.value – sliderMinValue ) / ( sliderMaxValue – sliderMinValue ) ) ) – 0.5;
percent2 = Math.round( 100 * ( ( sliderTwo.value – sliderMinValue ) / ( sliderMaxValue – sliderMinValue ) ) ) + 0.5;

But there is another problem. It does not work on mobile. Do you have any advice please?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tomáš Rejka