Submodule 6.2: Simple JavaScript file

Exercise

Exercise

  1. Open your editor, create a new file and save it as exersice06.2.html in the folder "Exercises".
  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: