how to add js in header code example
Example 1: include script in html
<script type="text/javascript" src="/path/to/script.js"></script>
Example 2: add javascript
function add(param1, param2) {
return param1 + param2
}
<script type="text/javascript" src="/path/to/script.js"></script>
function add(param1, param2) {
return param1 + param2
}