In this exercise...

you will practice displaying elements conditionally using ngIf and ngSwitch.

Directions:

In the project linked below:

  1. If the rental list is empty, display a message that says "No Rentals" and don't show the clear button
  2. Show only 1 of the 3 icons, whichever is appropriate.

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