Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 2: Integration of JavaScript with HTML!

Instruction

Example of a Simple JavaScript Program

First JavaScript Program

The following JavaScript program shows how to combine all of the elements described in the last 3 sections.

<html>
  <head>
    <title>First JavaScript Program</title>
  </head>
  <body>
    <script>
      /*  
        This is an example of JavaScript
      */  
      console.log("The program is running"); // Write to the console
      docum...