BASICS: Including JavaScript in an HTML page <script type = “text/javascript>js code here </script> Call an External JavaScript File <script src=”myscript.js”></script> Including comments //simngle line comoments /*multi line comments*/ VARIABLES: (var,const,let) var…