how to write js in html with $ code example
Example: how to enter javascript in html
<script type="text/javascript">
alert("This alert box was called with the onload event");
</script>
<script type="text/javascript">
alert("This alert box was called with the onload event");
</script>