Adobe Pro Script - Color

Sharon - Jun 20 - - Dev Community

I am trying to write a script to change text boxes to red when a certain range of numbers is used.
If a number is over 5, it turns red; if it is -5, it turns red. This alert on an aviation form will show a pilot that his plan is not level.
I have tried this but not working:

if(event.value >= 5){
event.target.fillColor= color.red;
} else if(event.value = > -5){
event.target.fillColor= color.red;
} else if(event.value = <5) event.target.fillColor-color.transparent;

Any help out there? I was doing good until I had to add the negative number to the equation.

.