From ba01798be29a461db60582f1c1683711014b259e Mon Sep 17 00:00:00 2001 From: Devesh Date: Wed, 18 Oct 2023 11:20:48 +0530 Subject: [PATCH] docs: removed duplicate content --- docs/src/content/docs/challenges/angular/13-styling.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/src/content/docs/challenges/angular/13-styling.md b/docs/src/content/docs/challenges/angular/13-styling.md index 154859b..d7c87a5 100644 --- a/docs/src/content/docs/challenges/angular/13-styling.md +++ b/docs/src/content/docs/challenges/angular/13-styling.md @@ -16,13 +16,9 @@ WIP: The following documentation will be reviewed and improved. However, you can ## Information -Styling is an important part of a day job of a frontend developer often underestimated. In Angular application, I often see people use `@Input()` to customize the style of their component. But `@Input()` should be used only for the logic and we should use other technique for styling. We can take advantage of css variable and host-context. - -In this challenge, you will need to use both to delete all `@Input()` from your code. - Styling is an important aspect of a frontend developer's day job, but it is often underestimated. In Angular applications, I frequently see people using `@Input()` to customize the style of their components. However, `@Input()` should only be used for logic; and other techniques, such as CSS variables and host-context, should be used for styling. -In this challenge, you will need to use both CSS variables and :host-context to remove all `@Input()` from your code. +In this challenge, you will need to use both CSS variables and `:host-context` to remove all `@Input()` from your code. ## Constraints: