I have the following arcade expression that returns value based on conditions set. I want to modify this expression so that if Eligible I want to show the return message in Green. And if not eligible I would like the message to be in Red.
How can I do that?
if ($feature.Eligibility == 'Eligible'){
return 'Please Fill out the required information'
}
else if ($feature.Eligibility == 'Not Eligible'){
return $feature.TrafficStudyStatus
}