JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" id="click" value="button" label="button"/>

<progress id="progBar" value="10" max="100" />

JavaScript

$('#click').click(function(){
    //$('#progBar').attr('value',50);
    $('#progBar').val(70);
})