I need a help with an effect I wanted to do, but I'm not getting it.
I have an input of type range that goes from 1
to 10
, being its default value 5
:
<input class="i1" type="range" min="1" max="10" value="5">
What I want to do is that every time I change the value of this input, the value of the font-size
style of my p
element changes.
<p class="p1">Um texto aleatório</p>