where to put js file so that html recognizes it code example
Example 1: include js in html
<html>
<head>
</head>
<body>
<script type="text/javascript" src=es4.js></script>
</body>
</html>
Example 2: how to reference a javascript file in html
<script type="text/javascript" src="path/filename.js"></script>