JSFiddle - React, Tailwind, and code Playground

by Grzegorz Matyszewski

HTML

<h2>power range from 1600 to 1940</h2>
<input id="range" type="range" min="0" max="100" value="0"/>
<p id="result"></p>

JavaScript

$('#range').on('change', function(){
   $('#result').html(Math.1600 + Math.pow(this.value,2)*340/10000);
});