Implement a traffic-light UI with JS | Salesforce Interview Question