Angular
Fundamentals of Angular - Organizing an Angular Application

Exercise: Sending Data to a Child Component

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 sending data to a child component.

Directions:

In the project linked below:

  1. Create a child component out of the card-body div
  2. Send the data for the # of movies rented, and the list of titles to the new component
  3. Bonus challenge: Hook up the rent buttons on the two movie tiles to have them "rent" movies and adjust the data in the rental list.

Click the following link to open up the exercise: https://stackblitz.com/fork/angular-emgy4i?file=src%2Fapp%2Fapp.component.html

 

I finished! On to the next chapter