IF...ELSE EXAMPLE
Run
<html>
   <body>     
      <script>
            let a = 8;
            if(a <= 5) {
                document.write("if block executed");
            }
            else 
            {
                document.write("else block executed");
            }
      </script>      
   </body>
</html>