diff --git a/adev/src/content/tutorials/signals/steps/1-creating-your-first-signal/README.md b/adev/src/content/tutorials/signals/steps/1-creating-your-first-signal/README.md index 1d626525703..cd2cf9372d8 100644 --- a/adev/src/content/tutorials/signals/steps/1-creating-your-first-signal/README.md +++ b/adev/src/content/tutorials/signals/steps/1-creating-your-first-signal/README.md @@ -8,9 +8,9 @@ In this activity, you'll learn how to: - Display its value in a template - Update the signal value using `set()` and `update()` methods -
+Let's build an interactive user status system with signals! -Let's build an interactive user status system with signals. +
@@ -38,18 +38,25 @@ export class App { -Update the template to display the current user status by calling the signal `userStatus()` with parentheses. +Update the status indicator to display the current user status by: +1. Binding the signal to the class attribute with `[class]="userStatus()"` +2. Displaying the status text by replacing `???` with `{{ userStatus() }}` ```html -