You are importing jQuery script file before your test.js and because of that, the browser knows how to handle $ calls. If you remove jQuery script, you will get an error “$ is undefined“
solved jQuery and javascript – conceptual
You are importing jQuery script file before your test.js and because of that, the browser knows how to handle $ calls. If you remove jQuery script, you will get an error “$ is undefined“
solved jQuery and javascript – conceptual