Displaying the Results
In this lesson, we'll learn how to display the results to the user.
We'll cover the following
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:
- Store the results
- Send the results down to the child component
- 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 1400+ tech skills courses.