5
I need some help with an effect I wanted to do, but I’m not getting it.
I have a range type input that goes from 1
at the 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 that input, the style value font-size
of my element p
be amended.
<p class="p1">Um texto aleatório</p>
Very obg, that’s exactly what I was trying to do.
– EDGNoizy