Link to live page where Functions are being used HERE
Control flow in JavaScript is how your computer runs code from top to bottom. It starts from the first line and ends at the last line, unless it hits any statement that changes the control flow of the program such as loops, conditionals, or functions.
A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when “something” invokes it (calls it).
The code inside a JavaScript function will execute when “something” invokes it. Without a function being defined it will not be exicuted.
() = pramaters you can have a number of them in there that are seaperated by ,