Interactivity on the web
Lesson 10, Introduction to Interactivity 221
2 Return to your original document and select the code within the two <script> tags.
Do not select the script tags themselves.
3 Press Ctrl + X (PC) or Command + X (Mac OS) to cut this code out of your
document. Switch to the promptwindow.js document and press Ctrl + V (PC) or
Command + V (Mac OS). Save this fi le.
4 Switch back to your HTML page, and add the following code (highlighted in red) to
your opening