Question: what is fn in javascript?
Answer: The $. fn is an alias for jQuery. prototype which allows you to extend jQuery with your own functions. For example: $.fn.something = function{} will allow you to use $("#element").something()