chrisranjana

Try

<script type="text/javaScript">

and also find a way for passing the input value (color) to the function.

ecarter202

I originally had <text/javascript> and it didn't work. I have been trying to figure how to connect the input value to "color". I suppose I should have made myself more clear by asking how to do that directly.