Angular
Fundamentals of Angular - Displaying Data

Exercise: Displaying a List

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 

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

 

I finished! On to the next chapter