In this code sample, a CSS class is being applied conditionally at runtime.