Displaying the Results

In this lesson, we'll learn how to display the results to the user.

We’ve got everything we need. The last step to building our application is to display the results. Here’s what we’ll need to do:

  1. Store the results
  2. Send the results down to the child component
  3. Loop through the results

Before proceeding, try to display the results on your own. We’ve already covered pretty much everything you’ll need to know to accomplish this task. Good luck!

Storing the results

First, we’ll want to store the results. This way, we can send them down to the Results component. In the app.component.ts file, we’ll update the class to the following:

Get hands-on with 1200+ tech skills courses.