Solution: The Built-in `NgClass` Directive
Let’s compare the task result with the expected result.
An NgClass
with a string expression
Let’s take a look at the task where we implemented an NgClass
with a string expression.
Solution
Here’s an example of what the solution for this task may look like:
Get hands-on with 1400+ tech skills courses.