Implementing Functionality to Add a New Course

Learn how to implement the functionality of adding a new course

To implement the functionality to add a course, we’ll head over to the dashboard components of our application and follow the steps below:

Step 1: Setting up the FormBuilder

We start by heading to our create-course directory. We currently have the design implemented, but we’re yet to configure FormBuilder, FormGroup, and Validators. To do that, we’ll head over to the create-course.component.ts file and implement the code below:

Get hands-on with 1400+ tech skills courses.