Order is important for javascript

A note to my future self, the order in which you import javascript files doe’s matter.

When using javascript, you must load the jquery file BEFORE you load the scripts.
jquery.js THEN your scripts:
script1.js
script2.js

Leave a Reply

Your email address will not be published. Required fields are marked *