function _progressBarHTML() {
        // create the divs that form the loading bar
        const progress = document.createElement('div')
        const progressBar = document.createElement('div')

        // displays percentage outside the progress bar if it is too small (< 25%)
        const outerPercentage = document.createElement('div')

        // set classes
        progressBar.className = 'progress-bar'
        progress.className = 'progress'
        outerPercentage.className = 'outerPercentage'

        progressBar.appendChild(progress)
        progressBar.appendChild(outerPercentage)
        return progressBar
    }
/**
     * Helper function that generates the HTML for a progress bar
     * @returns {HTMLDivElement} progressBar The HTML div containing the progress bar
     */
Helper function that generates the HTML for a progress bar
@returns {HTMLDivElement} progressBar The HTML div containing the progress bar
Helper function that generates the HTML for a progress bar @returns { HTMLDivElement } progressBar The HTML div containing the progress bar
function _progressBarHTML() {
        const progress = document.createElement('div')
        const progressBar = document.createElement('div')
        const outerPercentage = document.createElement('div')
        progressBar.className = 'progress-bar'
        progress.className = 'progress'
        outerPercentage.className = 'outerPercentage'
        progressBar.appendChild(progress)
        progressBar.appendChild(outerPercentage)
        return progressBar
    }
function _progressBarHTML ( ) { const progress = document . createElement ( 'div' ) const progressBar = document . createElement ( 'div' ) const outerPercentage = document . createElement ( 'div' ) progressBar . className = 'progress-bar' progress . className = 'progress' outerPercentage . className = 'outerPercentage' progressBar . appendChild ( progress ) progressBar . appendChild ( outerPercentage ) return progressBar }
Helper function that generates the HTML for a progress bar
 @returns {HTMLDivElement} progressBar The HTML div containing the progress bar
Helper function that generates the HTML for a progress bar @returns { HTMLDivElement } progressBar The HTML div containing the progress bar
// create the divs that form the loading bar // displays percentage outside the progress bar if it is too small (< 25%) // set classes