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,600 courses taught by industry experts or purchase this course individually.

Solution: Displaying quizzes

Solution: Displaying quizzes

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

Start my 1-month free trial

Solution: Displaying quizzes

- [Narrator] Here is the solution to the previous challenge. Remember that the challenge was to display the quiz and quiz list components instead of the questions in our home view, and to use the same service design to allow the two components to communicate with each other when selecting a quiz from the list to edit. In this video, we'll begin modifying our frontend in order to support associating questions with quizzes. So in other words, we can now edit quizzes, create quizzes, and add questions to quizzes. We'll first begin by modifying our home.component and so instead of displaying questions, we'll be displaying quizzes instead. So the first thing we'll need to do is create a quizzes.component just like we have a questions.component. So let's create two two new files and then the html file. And let's use our questions.component as a template so I'll copy the typescript and I'll also copy the html. And let's begin modifying our typescript. We'll update the selector, the…

Contents