Controlling Styles with JavaScript

Select the color for paragraphs and headings using the form below. The colors you specified will be dynamically changed in this document. The change occurs as soon as you change the value of either of the drop-down lists in the form.

Heading color:
Body text color: