I would like that when a person types more than 10 characters in my input , he would change the color to green, otherwise it turns red.
That's without the refresh . The person would not have to click the button to change colors. I would like it to change the colors while the person has typed.