I am trying to append style to a DIV with JS but for some reason I am not succeeding. Maybe I am doing something wrong. Here is my code
document.getElementById("umnip").style("width", "70%");
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="progress">
<div id="umnip" class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100">
<span class="sr-only">70% Complete</span>
</div>
</div>
Any idea what I am doing wrong?