Reputation: 55
Can't work out how to change the color of this with out placing a color attribute in the tag. I want to change the color of the word "Correct!"
if (Number(array1[i].value) == ((i+1) * number)){
array2[i].innerHTML = "Correct!";
}
Upvotes: 0
Views: 62