range sliders | Sololearn: Learn to code for FREE!

0

range sliders

Im on mobile rn so it might not show me any errors. Its not working how it intended, when u move the range slider i want my <p> to change. https://code.sololearn.com/W19BX9h6CrMC/?ref=app

6/28/2022 2:36:31 PM

Your Mom

9 Answers

New Answer

+1

On a small (touch) screen it might look like it is not increasing by 1 as the slider width is too small to change it precisely: Increase the slider width and maybe decrease the max value to convince yourself that the step-size works.

+1

function rangeSlider() { document.getElementById("sliderValue").innerHTML = document.getElementById("slider").value; } https://code.sololearn.com/W836dGQaFL4x/?ref=app

+1

Put 0.5 in steps

+1

Remember that <input/> is a self-closing tag: no closing </ input> needed!

0

ok so now the steps arent working

0

Its still not going by 1

0

If you wanna going by 1, so put 1

0

i did but when i test it doesnt do that

0

Thank Guys! Finished my code