Alligator.io Code Kata: Defaulting Theme Based On Time-Of-Day In Angular 7.2.11

added by JavaScript Kicks
4/4/2019 2:10:25 PM

600 Views

Ben Nadel draws inspiration from the Alligator.io website and partakes in a fun code kata in which he defaults the theme of an Angular application based on the user's local time-of-day. This allows the CSS theme to default to "dark" when the Angular application is being accessed outside of working hours.


0 comments