This page demonstrates a few features of JavaScript.
In the first example we get the input from a form and display it.
What's your favorite food?
This example shows how to generate an alert when a button gets clicked!