I\'m going to use javascript to make a function for changing color of background, as well as text simultaneously - based on the value of a text input. I\'ve got the backgrou
document.getElementById("fname").style.borderTopColor = 'red'; document.getElementById("fname").style.borderBottomColor = 'red';