In this exercise...

you will practice routing from within code.

Directions:

In the project linked below:

  • When the user clicks the rent button, if they have added 10 or more movies already to their rental list, send them to the /toomany route.

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