colorFailedInputs(failed_values, selector_string) {
        document.querySelectorAll(selector_string).forEach(elem => {
            if (failed_values.includes(elem.value)) {
                elem.style.backgroundColor = this.failed_validation_color;
            }
        });
    }
/**
     * Color the selected input boxes red to indicate they failed validation.
     *
     * @param {String[]} failed_values The set of values that were found to have failed validation.
     * @param {String} selector_string A CSS selector string used to select the inputs.
     */
Color the selected input boxes red to indicate they failed validation.
@param {String[]} failed_values The set of values that were found to have failed validation.
@param {String} selector_string A CSS selector string used to select the inputs.
Color the selected input boxes red to indicate they failed validation . @param { String [] } failed_values The set of values that were found to have failed validation . @param { String } selector_string A CSS selector string used to select the inputs .
colorFailedInputs(failed_values, selector_string) {
        document.querySelectorAll(selector_string).forEach(elem => {
            if (failed_values.includes(elem.value)) {
                elem.style.backgroundColor = this.failed_validation_color;
            }
        });
    }
colorFailedInputs ( failed_values , selector_string ) { document . querySelectorAll ( selector_string ) . forEach ( elem => { if ( failed_values . includes ( elem . value ) ) { elem . style . backgroundColor = this . failed_validation_color ; } } ) ; }
Color the selected input boxes red to indicate they failed validation.
Color the selected input boxes red to indicate they failed validation .