I'm sorry for not completing my code, I was caught at the bell at my school, but felt there was enough info typed to go ahead and post my question. Here is my problem and the reason why I was asking how to do that.
<html><head><script>function cColor() {document.getElementById('0').style.color=document.getElementById('5').value}function cColor1() {document.getElementById('1').style.color=document.getElementById('6').value}function cColor2() {document.getElementById('2').style.color=document.getElementById('7').value}</script></head><body id="0">Hi<p id="1">Hey</p><p id="2">Yo</p><form><input id="5"><input type="button"onclick="cColor()"value="Change"><input id="6"><input type="button"onclick="cColor1()"value="Change"><input id="7"><input type="button"onclick="cColor2()"value="Change"></form></body></html>
As you can see, if you change one of the paragraph font colors, you can no longer change them all by changing the body font color. Is there any way I can change the whole page font color with a command without having to change each paragraph in the function?