@Component({ selector: 'app-courses', templateUrl: './courses.component.html', styleUrls: ['./courses.component.css'], animations: [ trigger('courseHover', [ state('inactive', style({ backgroundColor: '#eee', transform: 'scale(1)' })), state('active'…