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