js creating function and use in html code example
Example: js function
function name(parameter1, parameter2, parameter3) {
// what the function does
}
function name(parameter1, parameter2, parameter3) {
// what the function does
}