BASIC INTERACTIVITY

Creating interactive Web pages requires a way to communicate with your users. You need both a way to obtain information from them as well as respond dynamically. There are three basic ways of getting input from visitors:

  • Forms
  • Prompts
  • Events

In this lesson, you focus on using JavaScript prompts to get user input on your pages.