Outline

In this exercise...

you will practice using Query Parameters in routes.

Directions:

In the project linked below:

  • Add 3 links at the top of the flops page to filter by a maximum of 3, 4, or 5 stars.
  • the queryString should add ?starsMax=3/4/5
  • in the flop-list component if the query parameter is set, then filter by calling the flopService.getFlopsMaxStars(stars) method

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

 

I finished! On to the next chapter