where to insert javascript in html code example
Example 1: how to add javascript in html
<script src="script.js"></script>
Example 2: insert js in html
<script src=¨script.js¨></script>
Example 3: how to add javascript in html
$(document).ready(function() {
// add your code here
})