Submodule 5.2: Simple JavaScript file

Exercise

Exercise

  1. Open your editor, create a new file and save it as exersice05.2.html in the folder "yourNameWEB2JS".
  2. You have to use two variable and two prompt() interactions.
  3. Modify and save the file. The browser's output should be as shown in the following image:

Solution: