src/index.js
// updates the progress bar by setting its width
updates the progress bar by setting its width
updates the progress bar by setting its width
_progress() {
	const currentProgress = this.state.current * ( 100 / this.state.questionsCount );
        this.progress.style.width = currentProgress + '%';
        this.progress.setAttribute('aria-valuenow', currentProgress);
    }
_progress ( ) { const currentProgress = this . state . current * ( 100 / this . state . questionsCount ) ; this . progress . style . width = currentProgress + '%' ; this . progress . setAttribute ( 'aria-valuenow' , currentProgress ) ; }
updates the progress bar by setting its width
updates the progress bar by setting its width
// update the progressbar's aria-valuenow attribute