make code js code example
Example 1: 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>
Example 2: how to code javascript
console.log("Hello World!");