how to write a program in javascript code example
Example: how to create js code
<!--just open a file with the ending of ".js"
example: myFirstJS.js
an other option is to write this sentence on HTML document:
-->
<script type="text/javascript">
//write here your code
</script>