assets/js/index-page.js
// converts the given string into a format used for classes and IDs ----------------------------------------------------------------------------------------------
converts the given string into a format used for classes and IDs
converts the given string into a format used for classes and IDs
function convertNameToId(inputText) {
    var $lowerCase = inputText.toLowerCase(),
        output = $lowerCase.replace(/(\s)+/g, '-');
    return output;
}
function convertNameToId ( inputText ) { var $lowerCase = inputText . toLowerCase ( ) , output = $lowerCase . replace ( / (\s)+ / g , '-' ) ; return output ; }
converts the given string into a format used for classes and IDs
converts the given string into a format used for classes and IDs