Hello I have this CSS code:
.bar .progress-line.html span {
width: 78%;
}
How can I change the width from javascript? I have tried many ways like
$(".bar .progress-line.html span").css("width", "10%");
But nothing is found.
I also tried this:
$(".bar .progress-line.html span").css("width", "10%");
but nothing happens.
Original example: https://codepen.io/Prashal9499/pen/oNWzPqR