Load dependency CSS - head
CSS is in the head (Use CDN .min) - see this stackoverflow Q
JS.min before body is better for performance (Read this stackoverflow Q -or- this + google it):
Example: Go to this example - right-click “
view page source” (And see - CSS in the head & JS before body)
Entire site VS Individual-page
If you want to use this library in the entire site (Or Most pages) - put this globally (If not - for performance issue its better to use “per page”).
This is in general. If you want more specific answer add more details (“which snippets of code go where” is to general).