function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jasmin -Not a super adminJasmin -Not a super admin 

Change color on the the call log Icon depending on the 'type' field

I want to change the color of the Call logo based on what is in the 'type field' for example IF the Type' states "Task - Call' I would the Logged a call Icon to be green and if the type states "Task - left message" I want the Icon to be red. 

Please bear in mind I am not a developer so please can we try and give me step by step guide on how this can be achieved if possible? 
THANK YOU SO MUCH! 

User-added image
Arun ParmarArun Parmar
you can include Style , for e.g.

style="{!if(text== 'Task - Call', 'green','red')}" .


I hope it will help you
Jasmin -Not a super adminJasmin -Not a super admin
@arun Please advise where I should put this code? (I'm not a developer,,..) 
thank you so much! :)