inline javascirpt <script code example
Example 1: html inline javascript
/*
There is no actual way to put javascript inside an HTML attribute
But there are some event attribute that can trigger JavaScript
functions.
Otherwise you have to use <script> tag or external JavaScript
*/
Example 2: how to use script tag
<script>
document.getElementById("id").innerText = ("");
</script>