I am looking to automate the process of changing multiple textbox colors based on the class property.
<input type="text" Class="ChangeColor" />
<input type="text" Class="ChangeColor" />
<input type="text" Class="ChangeColor" />
Text Box 1: The font color changes to green when I input a positive value like 25.
Text Box 2: The font color switches to red when I input a negative value like -2.
Text Box 3: The font color becomes black when I input 0.
Note: I prefer not to use Unique IDs for this task.