•A function is a named piece of
code that performs a task. Has ()
•Functions are put in <head> so
they are loaded before the page displays.
•Are
executed only when invoked.
•Body
enclosed in{ } (called a block)
•May
have parameters in () (values used by the the function to do its task).
•