The page below shows how to build simple
text boxes with associated buttons as well as
simple buttons that work with "objects,"
such as your screen--called a "document"
in the HTML/JavaScript code for this page.

And one button for the road -- done not using a function
defined in JavaScript!
The point being that JavaScript
wasn't required for the sexy color buttons above;
it was only used as an introduction to showing
how to define functions properly in the HEAD section
of your HTML and called in the BODY section.

Use your browser to look at
the source code to see how
this page was "built."

If you want to Meet My Camel and See How You Might Password Protect Certain Web Pages or Images, Click Here.
On the other hand, you may wish to return to my homepage.