In this exercise...

you will practice displaying a list of items.

Directions:

In the project linked below:

  1. When an actor is clicked on, add that actor to the list of favorites
  2. Display the list of favorites as an unordered list (ul element)
  3. Alternate the colors of the text using the text-success and text-info classes
  4. Give the last actor red text with the text-warning class

Click the following link to open up the exercise: https://stackblitz.com/fork/angular-g9cflg?file=src/app/app.component.html