function displayIterations() {
    let formInput = document.getElementById('iterationExponent');
    let helpText = document.getElementById('helpIterationExponent');

    let exponent = formInput.valueAsNumber;
    let iterations = calculateIterations(exponent);
    helpText.innerHTML = '10<sup>' + exponent + '</sup> = ' + iterations.toLocaleString('en-US') + ' iterations';
}
/**
 * Updates the helper text for the iterations input
 */
Updates the helper text for the iterations input
Updates the helper text for the iterations input
function displayIterations() {
    let formInput = document.getElementById('iterationExponent');
    let helpText = document.getElementById('helpIterationExponent');
    let exponent = formInput.valueAsNumber;
    let iterations = calculateIterations(exponent);
    helpText.innerHTML = '10<sup>' + exponent + '</sup> = ' + iterations.toLocaleString('en-US') + ' iterations';
}
function displayIterations ( ) { let formInput = document . getElementById ( 'iterationExponent' ) ; let helpText = document . getElementById ( 'helpIterationExponent' ) ; let exponent = formInput . valueAsNumber ; let iterations = calculateIterations ( exponent ) ; helpText . innerHTML = '10<sup>' + exponent + '</sup> = ' + iterations . toLocaleString ( 'en-US' ) + ' iterations' ; }
Updates the helper text for the iterations input
Updates the helper text for the iterations input