It is important that the script tag for the jQuery library be placed before the tag for our custom scripts; otherwise, the jQuery framework will not be available when our code attempts to reference it.
This note was recorded by Sally Carson from page 10 of Learning jQuery.