JSFiddle - React, Tailwind, and code Playground
by Andry Zirka
HTML
<input class="corners" type="range" min="1" max="60" step="1" value="48">
<span>show</span>
JavaScript
var corners = $('.corners'),
num = $('span');
var a = corners.val();
var nov = showResalt + 2;
$(function(){
num.text(a);
$('.corners').change(function(){
a = corners.val();
console.log(a + " =a");
num.text(a);
})
})
var showResalt = Number (a);
console.log( showResalt + ' = showResalt');
console.log(nov + " = nov");