From the course: Building Applications with Angular, ASP.NET Core, and Entity Framework Core

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Final touches

Final touches

- [Instructor] In this video, we'll add a couple finishing touches, such as creating a play button that will take us to our play component inside the nav bar and then once we're in our play component, clicking on an individual quiz will launch the Play Quiz component. So let's start in our nav bar. Let's open up the nav component and let's copy our first button on line seven and paste it below. We'll rename it to play and we'll change the router link to play as well. Let's try that. Now if we go back home, then we hit play, we can see the quiz list. Next, let's update the router link for each quiz in the list. So let's open up the play component and we'll open up the HTML for that. Then instead of having a click directive, we'll take that out and add a router link. This router link will be quite complex since it needs to include a URL parameter. So if we look back at our quiz component HTML at line 16, we can copy that to use as an example. So I'll grab the entire router link, close…

Contents