1. JavaScript is a scripting language used to add interactivity to web pages. It allows dynamic updating of content and reaction to user events.
2. Code can be placed in the <head>, <body>, or externally in .js files. Events like onclick trigger JavaScript functions.
3. A simple example prompts the user to click a button, then displays an alert. Color and other document properties can also be dynamically changed.